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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001422/0.001422, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001652/0.001652, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.452/1.452, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.8 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 65.8 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3464, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1748/0.5213, allocations: 160.2 MB / 1.208 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00459/0.5259, allocations: 2.974 MB / 1.211 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004667/0.5264, allocations: 11.94 kB / 1.211 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.5271, allocations: 175.1 kB / 1.212 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.5289, allocations: 0.7353 MB / 1.212 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.5297, allocations: 302.5 kB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.5309, allocations: 1.231 MB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002941/0.5312, allocations: 218.2 kB / 1.214 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.5316, allocations: 290.7 kB / 1.214 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008/0.5324, allocations: 296.5 kB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.5325, allocations: 16 kB / 1.215 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.5337, allocations: 0.7442 MB / 1.215 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.5338, allocations: 111.7 kB / 1.215 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.534, allocations: 195 kB / 1.216 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008699/0.5349, allocations: 0.7711 MB / 1.216 GB, free: 56 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5349, allocations: 3.938 kB / 1.216 GB, free: 52 kB / 0.9669 GB Notification: Performance of FrontEnd: time 8.12e-07/0.5349, allocations: 0 / 1.216 GB, free: 52 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.5349, allocations: 0 / 1.216 GB, free: 52 kB / 0.9669 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.001061/0.536, allocations: 0.7089 MB / 1.217 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.536, allocations: 12.03 kB / 1.217 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.5371, allocations: 135.4 kB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.5376, allocations: 406.3 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.5376, allocations: 24.56 kB / 1.218 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.5377, allocations: 24 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.5381, allocations: 271.7 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.5382, allocations: 7.938 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.5382, allocations: 11.94 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.5382, allocations: 8.562 kB / 1.218 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.5386, allocations: 198.1 kB / 1.218 GB, free: 14.16 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.001626/0.5402, allocations: 1.327 MB / 1.219 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.5406, allocations: 190.9 kB / 1.22 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.5407, allocations: 92.77 kB / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.5407, allocations: 0 / 1.22 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.5408, allocations: 38.56 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.5408, allocations: 0 / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.0009252/0.5417, allocations: 401 kB / 1.22 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.5418, allocations: 55.41 kB / 1.22 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.5421, allocations: 296.6 kB / 1.22 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.5421, allocations: 33.7 kB / 1.22 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.5422, allocations: 196 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/0.5423, allocations: 71 kB / 1.221 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.5424, allocations: 45.7 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.5425, allocations: 338.8 kB / 1.221 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.5426, allocations: 63.97 kB / 1.221 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.5427, allocations: 111.3 kB / 1.221 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.543, allocations: 197 kB / 1.221 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.543, allocations: 0 / 1.221 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003443/0.5433, allocations: 245.1 kB / 1.222 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5434, allocations: 15.92 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5434, allocations: 0 / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5434, allocations: 4 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.5436, allocations: 47.92 kB / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5436, allocations: 0 / 1.222 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.5439, allocations: 31.88 kB / 1.222 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.5439, allocations: 8 kB / 1.222 GB, free: 10.12 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.0001515/0.5441, allocations: 161.7 kB / 1.222 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/0.5442, allocations: 31.66 kB / 1.222 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.5442, allocations: 39.08 kB / 1.222 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5442, allocations: 7.984 kB / 1.222 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.5443, allocations: 0 / 1.222 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5443, allocations: 0 / 1.222 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.5447, allocations: 405.3 kB / 1.222 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5448, allocations: 4 kB / 1.222 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.545, allocations: 35.92 kB / 1.222 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.5452, allocations: 44.75 kB / 1.222 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.5452, allocations: 11.94 kB / 1.222 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/0.5463, allocations: 1.409 MB / 1.224 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5463, allocations: 0 / 1.224 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005421/0.5469, allocations: 397.4 kB / 1.224 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.547, allocations: 128.8 kB / 1.224 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.547, allocations: 8 kB / 1.224 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.5473, allocations: 7.984 kB / 1.224 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.5474, allocations: 23.86 kB / 1.224 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.5474, allocations: 4 kB / 1.224 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002063/0.5476, allocations: 215.1 kB / 1.225 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5476, allocations: 0 / 1.225 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000403/0.548, allocations: 103.8 kB / 1.225 GB, free: 6.887 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.0001888/0.5482, allocations: 123.2 kB / 1.225 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.5485, allocations: 170 kB / 1.225 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5485, allocations: 4 kB / 1.225 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.5488, allocations: 198.6 kB / 1.225 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/0.5498, allocations: 189.5 kB / 1.225 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.551, allocations: 0.8548 MB / 1.226 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.5513, allocations: 0.7923 MB / 1.227 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002443/0.5516, allocations: 55.25 kB / 1.227 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.734e-05/0.5516, allocations: 27.44 kB / 1.227 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.5517, allocations: 0 / 1.227 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of Templates: time 0.01008/0.5617, allocations: 5.826 MB / 1.233 GB, free: 14.67 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches