Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_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.0008939/0.0008935, allocations: 99.58 kB / 16.02 MB, free: 76 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.001101/0.001101, allocations: 180.3 kB / 16.92 MB, free: 6.918 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: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.657/2.657, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003715, allocations: 9.375 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3232, allocations: 159.6 MB / 1.059 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1596/0.4828, allocations: 158.1 MB / 1.214 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004217/0.4871, allocations: 2.926 MB / 1.217 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/0.4876, allocations: 15.88 kB / 1.217 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.4883, allocations: 179.1 kB / 1.217 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.4901, allocations: 0.7276 MB / 1.217 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007299/0.4909, allocations: 306.3 kB / 1.218 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.4923, allocations: 1.239 MB / 1.219 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.4927, allocations: 202.2 kB / 1.219 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.4933, allocations: 274.7 kB / 1.219 GB, free: 500 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008745/0.4942, allocations: 289.3 kB / 1.22 GB, free: 212 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.4943, allocations: 12 kB / 1.22 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.4957, allocations: 0.7519 MB / 1.22 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.4959, allocations: 99.69 kB / 1.221 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.4961, allocations: 216.7 kB / 1.221 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007871/0.4969, allocations: 0.5455 MB / 1.221 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4969, allocations: 0 / 1.221 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4969, allocations: 0 / 1.221 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.497, allocations: 0 / 1.221 GB, free: 14.58 MB / 0.9825 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.001153/0.4981, allocations: 0.6505 MB / 1.222 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4982, allocations: 11.97 kB / 1.222 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.4993, allocations: 135.4 kB / 1.222 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005962/0.4999, allocations: 414.3 kB / 1.222 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.4999, allocations: 16.56 kB / 1.222 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.5, allocations: 24 kB / 1.222 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.5004, allocations: 275.7 kB / 1.223 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5004, allocations: 0 / 1.223 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.5005, allocations: 12 kB / 1.223 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.5005, allocations: 8.562 kB / 1.223 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003435/0.5009, allocations: 202.1 kB / 1.223 GB, free: 12.75 MB / 0.9825 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.001757/0.5026, allocations: 1.326 MB / 1.224 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003786/0.503, allocations: 194.8 kB / 1.224 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/0.5032, allocations: 88.83 kB / 1.224 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.5032, allocations: 0 / 1.224 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.5032, allocations: 38.56 kB / 1.225 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 4.088e-06/0.5032, allocations: 4 kB / 1.225 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0009428/0.5042, allocations: 400.5 kB / 1.225 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.5042, allocations: 51.41 kB / 1.225 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.5046, allocations: 304.6 kB / 1.225 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.5046, allocations: 33.64 kB / 1.225 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.5047, allocations: 196.1 kB / 1.225 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.5048, allocations: 63.02 kB / 1.226 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.5048, allocations: 29.7 kB / 1.226 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.505, allocations: 334.8 kB / 1.226 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5051, allocations: 63.97 kB / 1.226 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.5052, allocations: 119.9 kB / 1.226 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.5055, allocations: 201 kB / 1.226 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5055, allocations: 0 / 1.226 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003835/0.5059, allocations: 245.1 kB / 1.226 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5059, allocations: 9.344 kB / 1.226 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.5059, allocations: 4 kB / 1.226 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.5059, allocations: 3.938 kB / 1.227 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.5061, allocations: 43.92 kB / 1.227 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.5062, allocations: 8.188 kB / 1.227 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.5065, allocations: 27.83 kB / 1.227 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.5065, allocations: 8 kB / 1.227 GB, free: 8.723 MB / 0.9825 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.00017/0.5067, allocations: 165.7 kB / 1.227 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.5067, allocations: 35.56 kB / 1.227 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.127e-05/0.5068, allocations: 35.08 kB / 1.227 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5068, allocations: 4 kB / 1.227 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5069, allocations: 0 / 1.227 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5069, allocations: 4 kB / 1.227 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.5074, allocations: 405.3 kB / 1.227 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5074, allocations: 0 / 1.227 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.5076, allocations: 31.92 kB / 1.227 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.5078, allocations: 48.77 kB / 1.227 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.5079, allocations: 0 / 1.227 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001161/0.509, allocations: 1.417 MB / 1.229 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.509, allocations: 0 / 1.229 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005562/0.5096, allocations: 401.1 kB / 1.229 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.5098, allocations: 120.8 kB / 1.229 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.5098, allocations: 7.938 kB / 1.229 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.5101, allocations: 15.89 kB / 1.229 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.5101, allocations: 15.92 kB / 1.229 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.5102, allocations: 12 kB / 1.229 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002213/0.5104, allocations: 215.1 kB / 1.229 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5104, allocations: 0 / 1.229 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004339/0.5108, allocations: 111.8 kB / 1.23 GB, free: 5.477 MB / 0.9825 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.0001885/0.511, allocations: 111.2 kB / 1.23 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003254/0.5114, allocations: 169.1 kB / 1.23 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5114, allocations: 0 / 1.23 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.5117, allocations: 198.6 kB / 1.23 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5127, allocations: 193.6 kB / 1.23 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.514, allocations: 0.9545 MB / 1.231 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.5144, allocations: 0.7923 MB / 1.232 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.934e-05/0.5145, allocations: 27.44 kB / 1.232 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.5145, allocations: 4 kB / 1.232 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of Templates: time 0.00947/0.524, allocations: 5.668 MB / 1.237 GB, free: 13.34 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches