Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006939/0.006939, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001592/0.001592, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 1.018 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3407, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.8652/1.206, allocations: 162.4 MB / 1.325 GB, free: 7.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005343/1.211, allocations: 2.916 MB / 1.328 GB, free: 4.953 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000679/1.212, allocations: 18.03 kB / 1.328 GB, free: 4.945 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008295/1.213, allocations: 218.8 kB / 1.328 GB, free: 4.824 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/1.215, allocations: 0.7988 MB / 1.329 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009802/1.216, allocations: 345.2 kB / 1.329 GB, free: 4.191 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001442/1.218, allocations: 0.9445 MB / 1.33 GB, free: 3.75 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/1.218, allocations: 249.8 kB / 1.331 GB, free: 3.637 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006155/1.219, allocations: 354.4 kB / 1.331 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008407/1.22, allocations: 288.9 kB / 1.331 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.141e-05/1.22, allocations: 37.25 kB / 1.331 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/1.221, allocations: 0.6474 MB / 1.332 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001805/1.221, allocations: 134.9 kB / 1.332 GB, free: 3.023 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/1.222, allocations: 209.8 kB / 1.332 GB, free: 2.902 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/1.223, allocations: 0.7634 MB / 1.333 GB, free: 2.629 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.223, allocations: 0 / 1.333 GB, free: 2.629 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.214e-06/1.223, allocations: 0 / 1.333 GB, free: 2.629 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.223, allocations: 0 / 1.333 GB, free: 2.629 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001166/1.224, allocations: 0.7183 MB / 1.334 GB, free: 2.051 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.224, allocations: 10.09 kB / 1.334 GB, free: 2.051 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/1.225, allocations: 141.7 kB / 1.334 GB, free: 2.016 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/1.226, allocations: 422.8 kB / 1.334 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/1.226, allocations: 18.5 kB / 1.334 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/1.226, allocations: 28.22 kB / 1.334 GB, free: 1.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004706/1.226, allocations: 284.7 kB / 1.334 GB, free: 1.535 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/1.226, allocations: 3.938 kB / 1.334 GB, free: 1.531 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/1.226, allocations: 7.781 kB / 1.334 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/1.226, allocations: 11.84 kB / 1.334 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/1.227, allocations: 195.5 kB / 1.335 GB, free: 1.457 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.00188/1.229, allocations: 1.327 MB / 1.336 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/1.229, allocations: 189.9 kB / 1.336 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/1.229, allocations: 89.92 kB / 1.336 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/1.229, allocations: 1.156 kB / 1.336 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/1.229, allocations: 32.84 kB / 1.336 GB, free: 228 kB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/1.229, allocations: 3.938 kB / 1.336 GB, free: 224 kB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.000956/1.23, allocations: 414.4 kB / 1.337 GB, free: 15.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.23, allocations: 53.62 kB / 1.337 GB, free: 15.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/1.231, allocations: 303.5 kB / 1.337 GB, free: 15.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/1.231, allocations: 31.14 kB / 1.337 GB, free: 15.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/1.231, allocations: 193.3 kB / 1.337 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/1.231, allocations: 73.17 kB / 1.337 GB, free: 15.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/1.231, allocations: 40.11 kB / 1.337 GB, free: 15.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.231, allocations: 339.3 kB / 1.338 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/1.231, allocations: 64.28 kB / 1.338 GB, free: 15.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/1.231, allocations: 123.7 kB / 1.338 GB, free: 15.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/1.232, allocations: 196.6 kB / 1.338 GB, free: 14.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/1.232, allocations: 1.156 kB / 1.338 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003781/1.232, allocations: 248.4 kB / 1.338 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.232, allocations: 9.219 kB / 1.338 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.232, allocations: 2.438 kB / 1.338 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.232, allocations: 2.531 kB / 1.338 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/1.232, allocations: 48.58 kB / 1.338 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.232, allocations: 9.812 kB / 1.338 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/1.233, allocations: 12.86 kB / 1.338 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/1.233, allocations: 9.656 kB / 1.338 GB, free: 14.74 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001546/1.233, allocations: 158.7 kB / 1.338 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/1.233, allocations: 35.59 kB / 1.339 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/1.233, allocations: 40.33 kB / 1.339 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.233, allocations: 1.594 kB / 1.339 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.233, allocations: 1.25 kB / 1.339 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.233, allocations: 2.344 kB / 1.339 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/1.234, allocations: 411.8 kB / 1.339 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.234, allocations: 0 / 1.339 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/1.234, allocations: 32.84 kB / 1.339 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/1.234, allocations: 47.83 kB / 1.339 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/1.234, allocations: 7.188 kB / 1.339 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/1.235, allocations: 1.514 MB / 1.341 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.235, allocations: 1.125 kB / 1.341 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/1.236, allocations: 408.6 kB / 1.341 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/1.236, allocations: 130.1 kB / 1.341 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/1.236, allocations: 9.219 kB / 1.341 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/1.236, allocations: 7.969 kB / 1.341 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/1.236, allocations: 11.31 kB / 1.341 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/1.236, allocations: 11.39 kB / 1.341 GB, free: 12.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002316/1.236, allocations: 210.3 kB / 1.341 GB, free: 12.24 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.11e-07/1.237, allocations: 4 kB / 1.341 GB, free: 12.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004405/1.237, allocations: 107.9 kB / 1.341 GB, free: 12.21 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * 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): 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.00018/1.237, allocations: 114.9 kB / 1.341 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002992/1.237, allocations: 161 kB / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.237, allocations: 1.312 kB / 1.342 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002927/1.238, allocations: 204.5 kB / 1.342 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009885/1.239, allocations: 200 kB / 1.342 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/1.24, allocations: 0.7308 MB / 1.343 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/1.24, allocations: 0.7938 MB / 1.343 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002217/1.24, allocations: 67.03 kB / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/1.241, allocations: 26.56 kB / 1.344 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/1.241, allocations: 0 / 1.344 GB, free: 10.64 MB / 1.029 GB Notification: Performance of Templates: time 0.01148/1.252, allocations: 6.15 MB / 1.35 GB, free: 10.12 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches