Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001005/0.001005, allocations: 92.16 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.001454/0.001454, allocations: 173 kB / 16.92 MB, free: 6.652 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.9 MB / 0.667 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.779, allocations: 142.4 MB / 0.9557 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.2352/1.014, allocations: 194 MB / 1.145 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0167/1.031, allocations: 10.3 MB / 1.155 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/1.033, allocations: 55.69 kB / 1.155 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/1.035, allocations: 481.1 kB / 1.156 GB, free: 1.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006312/1.042, allocations: 1.836 MB / 1.157 GB, free: 36 kB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.004181/1.046, allocations: 1.241 MB / 1.159 GB, free: 14.8 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005509/1.051, allocations: 3.67 MB / 1.162 GB, free: 11.12 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/1.053, allocations: 0.9813 MB / 1.163 GB, free: 10.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005289/1.059, allocations: 1.472 MB / 1.165 GB, free: 8.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/1.061, allocations: 0.9165 MB / 1.166 GB, free: 7.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003887/1.062, allocations: 48 kB / 1.166 GB, free: 7.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005072/1.067, allocations: 2.373 MB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006922/1.067, allocations: 346.7 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/1.069, allocations: 0.6426 MB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003447/1.072, allocations: 1.789 MB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.072, allocations: 0 / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.033e-06/1.072, allocations: 0 / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.902e-05/1.072, allocations: 0 / 1.171 GB, free: 2.516 MB / 0.92 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.002876/1.075, allocations: 1.561 MB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.075, allocations: 8.031 kB / 1.172 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/1.078, allocations: 369.8 kB / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/1.079, allocations: 0.9245 MB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/1.08, allocations: 77.98 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/1.08, allocations: 100 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/1.082, allocations: 1.107 MB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/1.082, allocations: 0 / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-05/1.082, allocations: 48 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/1.082, allocations: 34 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/1.083, allocations: 0.8118 MB / 1.176 GB, free: 13.33 MB / 0.9356 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.00687/1.09, allocations: 5.093 MB / 1.181 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/1.092, allocations: 0.6991 MB / 1.181 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/1.092, allocations: 358.3 kB / 1.182 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007822/1.093, allocations: 327.9 kB / 1.182 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.274e-05/1.093, allocations: 47.11 kB / 1.182 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 3.456e-06/1.093, allocations: 0 / 1.182 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.002294/1.095, allocations: 0.9349 MB / 1.183 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/1.095, allocations: 63.97 kB / 1.183 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/1.097, allocations: 0.8763 MB / 1.184 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/1.097, allocations: 41.7 kB / 1.184 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004996/1.097, allocations: 0.5546 MB / 1.184 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/1.098, allocations: 248.3 kB / 1.185 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/1.098, allocations: 69.69 kB / 1.185 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.098, allocations: 333.9 kB / 1.185 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004793/1.098, allocations: 253.8 kB / 1.185 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/1.099, allocations: 447.1 kB / 1.186 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/1.1, allocations: 0.717 MB / 1.186 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.1, allocations: 4 kB / 1.186 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001663/1.102, allocations: 0.8318 MB / 1.187 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000185/1.102, allocations: 229.3 kB / 1.187 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.102, allocations: 8 kB / 1.187 GB, free: 0.5352 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/1.102, allocations: 12 kB / 1.187 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.104, allocations: 251.6 kB / 1.188 GB, free: 284 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/1.106, allocations: 1.405 MB / 1.189 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/1.107, allocations: 119.2 kB / 1.189 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.22e-05/1.107, allocations: 32 kB / 1.189 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.747e-06/1.107, allocations: 4 kB / 1.189 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001395/1.108, allocations: 0.7066 MB / 1.19 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.108, allocations: 8.125 kB / 1.19 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/1.108, allocations: 11.94 kB / 1.19 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/1.11, allocations: 251.7 kB / 1.19 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/1.111, allocations: 1.382 MB / 1.191 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/1.112, allocations: 123.2 kB / 1.192 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.972e-05/1.112, allocations: 35.98 kB / 1.192 GB, free: 11.94 MB / 0.9512 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.0007351/1.113, allocations: 364.8 kB / 1.192 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003331/1.114, allocations: 114.5 kB / 1.192 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/1.115, allocations: 0.798 MB / 1.193 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.116, allocations: 8 kB / 1.193 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/1.116, allocations: 0 / 1.193 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001507/1.117, allocations: 0.7117 MB / 1.194 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/1.121, allocations: 1.926 MB / 1.195 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.121, allocations: 4 kB / 1.195 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007833/1.122, allocations: 144 kB / 1.196 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/1.122, allocations: 52.75 kB / 1.196 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-05/1.122, allocations: 15.94 kB / 1.196 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/1.124, allocations: 1.36 MB / 1.197 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.124, allocations: 7.938 kB / 1.197 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.127, allocations: 1.219 MB / 1.198 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006061/1.127, allocations: 259.4 kB / 1.198 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.128, allocations: 20 kB / 1.198 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008646/1.128, allocations: 57.59 kB / 1.198 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.128, allocations: 48.44 kB / 1.198 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/1.129, allocations: 23.98 kB / 1.199 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001237/1.13, allocations: 0.5967 MB / 1.199 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.13, allocations: 0 / 1.199 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001689/1.131, allocations: 0.5335 MB / 1.2 GB, free: 3.344 MB / 0.9512 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.0006097/1.132, allocations: 222.2 kB / 1.2 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003841/1.136, allocations: 1.186 MB / 1.201 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.136, allocations: 0 / 1.201 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008505/1.137, allocations: 445.6 kB / 1.201 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003206/1.14, allocations: 0.5003 MB / 1.202 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/1.145, allocations: 2.801 MB / 1.205 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.147, allocations: 1.144 MB / 1.206 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/1.147, allocations: 83.42 kB / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of SimCode: time 1.503e-06/1.147, allocations: 0 / 1.206 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of Templates: time 0.03433/1.181, allocations: 21.27 MB / 1.227 GB, free: 7.73 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches