Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|TSet.y|conPI.y|hea.Q_flow|hex.Q1_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.682/2.682, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 72.41 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.7665, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.4254/1.192, allocations: 380.3 MB / 1.454 GB, free: 1.375 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.06564/1.258, allocations: 46.54 MB / 1.5 GB, free: 2.695 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007078/1.265, allocations: 175.1 kB / 1.5 GB, free: 2.523 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.01827/1.283, allocations: 8.696 MB / 1.508 GB, free: 9.805 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.02119/1.304, allocations: 7.272 MB / 1.516 GB, free: 2.504 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01062/1.315, allocations: 3.83 MB / 1.519 GB, free: 14.7 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.7017/2.017, allocations: 16.11 MB / 1.535 GB, free: 34.05 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009973/2.027, allocations: 5.571 MB / 1.54 GB, free: 33.57 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01683/2.044, allocations: 6.762 MB / 1.547 GB, free: 33.57 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009032/2.053, allocations: 3.646 MB / 1.551 GB, free: 33.56 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.002351/2.055, allocations: 0.4904 MB / 1.551 GB, free: 33.56 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/2.072, allocations: 6.305 MB / 1.557 GB, free: 33.56 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.004948/2.077, allocations: 1.979 MB / 1.559 GB, free: 33.56 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.00924/2.087, allocations: 3.129 MB / 1.562 GB, free: 33.26 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.0215/2.108, allocations: 10.17 MB / 1.572 GB, free: 32.24 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/2.108, allocations: 0.6875 kB / 1.572 GB, free: 32.24 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.563e-06/2.108, allocations: 0.75 kB / 1.572 GB, free: 32.24 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0003014/2.108, allocations: 0 / 1.572 GB, free: 32.24 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01866/2.127, allocations: 6.436 MB / 1.578 GB, free: 29.3 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/2.127, allocations: 13.75 kB / 1.578 GB, free: 29.3 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/2.14, allocations: 2.002 MB / 1.58 GB, free: 28.98 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/2.153, allocations: 5.599 MB / 1.586 GB, free: 28.05 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001507/2.154, allocations: 0.5948 MB / 1.586 GB, free: 27.91 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/2.156, allocations: 350.2 kB / 1.587 GB, free: 27.91 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/2.168, allocations: 4.534 MB / 1.591 GB, free: 27.53 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001387/2.168, allocations: 6.844 kB / 1.591 GB, free: 27.53 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009544/2.169, allocations: 140.9 kB / 1.591 GB, free: 27.53 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/2.169, allocations: 140 kB / 1.591 GB, free: 27.52 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/2.179, allocations: 4.001 MB / 1.595 GB, free: 27.43 MB / 1.248 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03494/2.214, allocations: 20.04 MB / 1.615 GB, free: 17.32 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/2.219, allocations: 1.762 MB / 1.617 GB, free: 17.07 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/2.221, allocations: 0.9174 MB / 1.618 GB, free: 17.04 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/2.221, allocations: 412.2 kB / 1.618 GB, free: 16.65 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002577/2.224, allocations: 1.067 MB / 1.619 GB, free: 16.54 MB / 1.248 GB Notification: Performance of pre-optimization done (n=127): time 4.118e-06/2.224, allocations: 0 / 1.619 GB, free: 16.54 MB / 1.248 GB Notification: Performance of matching and sorting (n=127): time 0.008615/2.233, allocations: 2.925 MB / 1.622 GB, free: 16.11 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/2.233, allocations: 149.9 kB / 1.622 GB, free: 15.95 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009805/2.243, allocations: 4.65 MB / 1.627 GB, free: 15.55 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004909/2.243, allocations: 58.58 kB / 1.627 GB, free: 15.52 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002689/2.246, allocations: 2.427 MB / 1.629 GB, free: 14.71 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007549/2.247, allocations: 472.2 kB / 1.629 GB, free: 14.43 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00196/2.249, allocations: 0.6787 MB / 1.63 GB, free: 14.37 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 5.028e-05/2.249, allocations: 301.1 kB / 1.63 GB, free: 14.07 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/2.252, allocations: 1.408 MB / 1.632 GB, free: 14.02 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004052/2.256, allocations: 2.559 MB / 1.634 GB, free: 12.64 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006205/2.262, allocations: 3.729 MB / 1.638 GB, free: 11.29 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.426e-05/2.263, allocations: 8.5 kB / 1.638 GB, free: 11.29 MB / 1.248 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01002/2.273, allocations: 4.334 MB / 1.642 GB, free: 10.89 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/2.273, allocations: 51.08 kB / 1.642 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.126e-05/2.273, allocations: 34.31 kB / 1.642 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.731e-05/2.273, allocations: 49 kB / 1.642 GB, free: 10.86 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/2.276, allocations: 0.7417 MB / 1.643 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.193e-05/2.276, allocations: 68.72 kB / 1.643 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005055/2.281, allocations: 0.5764 MB / 1.644 GB, free: 10.62 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005354/2.282, allocations: 145.5 kB / 1.644 GB, free: 10.62 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005831/2.287, allocations: 2.561 MB / 1.646 GB, free: 10.51 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003891/2.291, allocations: 2.548 MB / 1.649 GB, free: 9.129 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00605/2.297, allocations: 3.737 MB / 1.652 GB, free: 7.773 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.896e-05/2.297, allocations: 10.53 kB / 1.652 GB, free: 7.773 MB / 1.248 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.009626/2.307, allocations: 4.331 MB / 1.657 GB, free: 7.379 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 6.303e-05/2.307, allocations: 44.64 kB / 1.657 GB, free: 7.348 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.784e-05/2.307, allocations: 41.67 kB / 1.657 GB, free: 7.344 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.384e-05/2.307, allocations: 52.5 kB / 1.657 GB, free: 7.34 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/2.31, allocations: 0.7364 MB / 1.657 GB, free: 7.328 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.054e-05/2.31, allocations: 66.88 kB / 1.658 GB, free: 7.328 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005056/2.315, allocations: 491.7 kB / 1.658 GB, free: 7.203 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/2.316, allocations: 147.9 kB / 1.658 GB, free: 7.203 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001051/2.317, allocations: 366 kB / 1.659 GB, free: 7 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/2.318, allocations: 442.2 kB / 1.659 GB, free: 6.762 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00625/2.325, allocations: 2.321 MB / 1.661 GB, free: 6.586 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/2.325, allocations: 11.12 kB / 1.661 GB, free: 6.586 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/2.325, allocations: 0 / 1.661 GB, free: 6.586 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004201/2.329, allocations: 1.924 MB / 1.663 GB, free: 6.105 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/2.346, allocations: 6.694 MB / 1.67 GB, free: 4.969 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-05/2.346, allocations: 14.48 kB / 1.67 GB, free: 4.969 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/2.347, allocations: 332.4 kB / 1.67 GB, free: 4.953 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/2.348, allocations: 65.42 kB / 1.67 GB, free: 4.941 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/2.348, allocations: 43.48 kB / 1.67 GB, free: 4.941 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009571/2.349, allocations: 1.545 MB / 1.672 GB, free: 3.543 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/2.349, allocations: 21.66 kB / 1.672 GB, free: 3.539 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007374/2.356, allocations: 3.384 MB / 1.675 GB, free: 2.312 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002427/2.359, allocations: 0.7348 MB / 1.676 GB, free: 1.883 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/2.36, allocations: 38.67 kB / 1.676 GB, free: 1.879 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003651/2.364, allocations: 206.5 kB / 1.676 GB, free: 1.824 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/2.364, allocations: 111 kB / 1.676 GB, free: 1.785 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/2.365, allocations: 69.48 kB / 1.676 GB, free: 1.773 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.006588/2.371, allocations: 3.116 MB / 1.679 GB, free: 180 kB / 1.248 GB Notification: Performance of sort global known variables: time 3.5e-07/2.371, allocations: 0 / 1.679 GB, free: 180 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.0102/2.381, allocations: 2.297 MB / 1.681 GB, free: 14 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001992/2.383, allocations: 0.6374 MB / 1.682 GB, free: 13.46 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01296/2.396, allocations: 5.113 MB / 1.687 GB, free: 9.816 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/2.396, allocations: 0 / 1.687 GB, free: 9.816 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.003084/2.4, allocations: 1.03 MB / 1.688 GB, free: 9.039 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01382/2.413, allocations: 2.136 MB / 1.69 GB, free: 7.277 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/2.437, allocations: 9.163 MB / 1.699 GB, free: 14.98 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005033/2.442, allocations: 2.976 MB / 1.702 GB, free: 12.27 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001814/2.444, allocations: 335.1 kB / 1.702 GB, free: 11.95 MB / 1.279 GB Notification: Performance of SimCode: time 1.072e-06/2.444, allocations: 3.938 kB / 1.702 GB, free: 11.95 MB / 1.279 GB Notification: Performance of Templates: time 0.1406/2.585, allocations: 87.05 MB / 1.787 GB, free: 6.699 MB / 1.357 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches