Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T|vol1.X_w|QSen.u|QLat.u|vol1.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 184.3 kB / 16.92 MB, free: 6.922 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.792/1.792, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 462.7 MB / 0.7371 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 11.12 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3518, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2293/0.5811, allocations: 194 MB / 1.249 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7539/1.335, allocations: 10.3 MB / 1.259 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/1.338, allocations: 51.75 kB / 1.259 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002044/1.34, allocations: 479.5 kB / 1.259 GB, free: 2.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005797/1.346, allocations: 1.836 MB / 1.261 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003945/1.35, allocations: 1.236 MB / 1.262 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005212/1.355, allocations: 3.676 MB / 1.266 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/1.357, allocations: 0.9933 MB / 1.267 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005533/1.363, allocations: 1.462 MB / 1.268 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002815/1.366, allocations: 0.9133 MB / 1.269 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004924/1.366, allocations: 46.91 kB / 1.269 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006402/1.372, allocations: 2.382 MB / 1.272 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/1.374, allocations: 345.8 kB / 1.272 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001965/1.376, allocations: 0.6385 MB / 1.272 GB, free: 18.42 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004464/1.38, allocations: 1.781 MB / 1.274 GB, free: 18.28 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.38, allocations: 0 / 1.274 GB, free: 18.28 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.994e-06/1.38, allocations: 1.438 kB / 1.274 GB, free: 18.28 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.528e-05/1.38, allocations: 0 / 1.274 GB, free: 18.28 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003583/1.384, allocations: 1.572 MB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.384, allocations: 10.48 kB / 1.276 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/1.386, allocations: 371 kB / 1.276 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/1.389, allocations: 0.9193 MB / 1.277 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/1.389, allocations: 74.28 kB / 1.277 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/1.389, allocations: 102.1 kB / 1.277 GB, free: 16.91 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/1.391, allocations: 1.111 MB / 1.278 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/1.391, allocations: 0.9688 kB / 1.278 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/1.391, allocations: 46.2 kB / 1.278 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/1.392, allocations: 38.36 kB / 1.278 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/1.393, allocations: 0.8082 MB / 1.279 GB, free: 16.7 MB / 1.014 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.00627/1.399, allocations: 5.087 MB / 1.284 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/1.401, allocations: 0.6974 MB / 1.285 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005316/1.401, allocations: 360 kB / 1.285 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/1.402, allocations: 328.9 kB / 1.285 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/1.402, allocations: 42.06 kB / 1.286 GB, free: 13.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.905e-06/1.402, allocations: 1.859 kB / 1.286 GB, free: 13.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.00205/1.404, allocations: 0.9474 MB / 1.286 GB, free: 13.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/1.404, allocations: 61.31 kB / 1.286 GB, free: 13.24 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/1.405, allocations: 0.8769 MB / 1.287 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.49e-05/1.405, allocations: 41.05 kB / 1.287 GB, free: 13.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004139/1.406, allocations: 0.5522 MB / 1.288 GB, free: 12.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/1.406, allocations: 251.5 kB / 1.288 GB, free: 12.69 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/1.406, allocations: 68.16 kB / 1.288 GB, free: 12.67 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.406, allocations: 337.2 kB / 1.289 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/1.407, allocations: 251.4 kB / 1.289 GB, free: 12.36 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/1.408, allocations: 448.1 kB / 1.289 GB, free: 12.17 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.409, allocations: 0.7097 MB / 1.29 GB, free: 11.98 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.409, allocations: 1.094 kB / 1.29 GB, free: 11.98 MB / 1.014 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00165/1.41, allocations: 0.832 MB / 1.291 GB, free: 11.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000177/1.411, allocations: 241.5 kB / 1.291 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/1.411, allocations: 4.75 kB / 1.291 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/1.411, allocations: 8.219 kB / 1.291 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/1.412, allocations: 249.6 kB / 1.291 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/1.414, allocations: 1.397 MB / 1.293 GB, free: 10.26 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/1.415, allocations: 127.4 kB / 1.293 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/1.415, allocations: 31.94 kB / 1.293 GB, free: 10.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/1.415, allocations: 4.062 kB / 1.293 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00148/1.417, allocations: 0.7067 MB / 1.293 GB, free: 10.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/1.417, allocations: 12.31 kB / 1.293 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.417, allocations: 8.688 kB / 1.293 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.418, allocations: 255.4 kB / 1.294 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/1.42, allocations: 1.39 MB / 1.295 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/1.421, allocations: 115 kB / 1.295 GB, free: 8.785 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.577e-05/1.421, allocations: 27.22 kB / 1.295 GB, free: 8.785 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008006/1.422, allocations: 375.2 kB / 1.296 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/1.422, allocations: 112.5 kB / 1.296 GB, free: 8.527 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/1.424, allocations: 0.7923 MB / 1.296 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/1.424, allocations: 10.47 kB / 1.296 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.424, allocations: 0 / 1.296 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001455/1.425, allocations: 0.7139 MB / 1.297 GB, free: 8.262 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/1.43, allocations: 1.934 MB / 1.299 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/1.43, allocations: 1.406 kB / 1.299 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/1.43, allocations: 147.1 kB / 1.299 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/1.431, allocations: 46.61 kB / 1.299 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/1.431, allocations: 17.53 kB / 1.299 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/1.432, allocations: 1.35 MB / 1.301 GB, free: 6.559 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.432, allocations: 9.312 kB / 1.301 GB, free: 6.555 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/1.435, allocations: 1.222 MB / 1.302 GB, free: 6.273 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006401/1.435, allocations: 251.3 kB / 1.302 GB, free: 6.113 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/1.436, allocations: 21.28 kB / 1.302 GB, free: 6.109 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008895/1.437, allocations: 58.91 kB / 1.302 GB, free: 6.102 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.437, allocations: 47.95 kB / 1.302 GB, free: 6.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.87e-05/1.437, allocations: 27.72 kB / 1.302 GB, free: 6.094 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001041/1.438, allocations: 0.5992 MB / 1.303 GB, free: 5.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.438, allocations: 0 / 1.303 GB, free: 5.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002246/1.44, allocations: 0.5324 MB / 1.303 GB, free: 5.895 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006526/1.441, allocations: 217.5 kB / 1.303 GB, free: 5.785 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003653/1.444, allocations: 1.18 MB / 1.305 GB, free: 5.758 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.444, allocations: 0 / 1.305 GB, free: 5.758 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009175/1.445, allocations: 456.8 kB / 1.305 GB, free: 5.641 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/1.449, allocations: 0.498 MB / 1.306 GB, free: 5.605 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/1.454, allocations: 2.806 MB / 1.308 GB, free: 4.066 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/1.455, allocations: 1.139 MB / 1.309 GB, free: 3.348 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/1.455, allocations: 90.91 kB / 1.309 GB, free: 3.34 MB / 1.014 GB Notification: Performance of SimCode: time 8.72e-07/1.455, allocations: 4 kB / 1.309 GB, free: 3.336 MB / 1.014 GB Notification: Performance of Templates: time 0.03773/1.493, allocations: 21.26 MB / 1.33 GB, free: 13.96 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches