Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example7.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.Fluid.Examples.Performance.Example7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example7") translateModel(Buildings.Fluid.Examples.Performance.Example7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 111.1 kB / 16.42 MB, free: 6.48 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.002353/0.002353, allocations: 191.8 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.337/3.337, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.391/5.391, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 63.89 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926/1.929, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example7): time 0.003635/1.932, allocations: 0.5399 MB / 1.209 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003743/1.933, allocations: 39.86 kB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/1.933, allocations: 4 kB / 1.209 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/1.933, allocations: 0 / 1.209 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.395e-05/1.933, allocations: 7.938 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/1.934, allocations: 15.97 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008978/1.943, allocations: 3.156 MB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/1.943, allocations: 20 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003667/1.947, allocations: 1.151 MB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00578/1.952, allocations: 1.595 MB / 1.215 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001723/1.954, allocations: 156 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01/1.964, allocations: 156 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00315/1.967, allocations: 1.072 MB / 1.216 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01403/1.981, allocations: 1.093 MB / 1.217 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005587/1.987, allocations: 2.029 MB / 1.219 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/1.987, allocations: 8 kB / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.637e-06/1.987, allocations: 0 / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001125/1.987, allocations: 0 / 1.219 GB, free: 2.59 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 500 * Number of variables: 500 Notification: Performance of Generate backend data structure: time 0.034/2.021, allocations: 4.869 MB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.219e-05/2.021, allocations: 11.97 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/2.024, allocations: 223.1 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007816/2.031, allocations: 0.9002 MB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005606/2.032, allocations: 272.3 kB / 1.225 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005827/2.038, allocations: 0.6039 MB / 1.226 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01441/2.052, allocations: 3.009 MB / 1.229 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001857/2.053, allocations: 3.938 kB / 1.229 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00139/2.054, allocations: 80 kB / 1.229 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.066e-05/2.054, allocations: 48 kB / 1.229 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007472/2.062, allocations: 1.944 MB / 1.231 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009022/2.071, allocations: 2.747 MB / 1.234 GB, free: 3.738 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1484/2.219, allocations: 19.35 MB / 1.252 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008234/2.227, allocations: 2.226 MB / 1.255 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/2.229, allocations: 51.92 kB / 1.255 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/2.229, allocations: 86.47 kB / 1.255 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=500): time 1.841e-05/2.229, allocations: 4 kB / 1.255 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=500): time 0.03013/2.259, allocations: 7.073 MB / 1.262 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/2.259, allocations: 103.3 kB / 1.262 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/2.26, allocations: 261.7 kB / 1.262 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.001672/2.262, allocations: 181.7 kB / 1.262 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/2.262, allocations: 187.9 kB / 1.262 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.004267/2.266, allocations: 2.175 MB / 1.264 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006143/2.273, allocations: 1.39 MB / 1.266 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001866/2.273, allocations: 314 kB / 1.266 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/2.283, allocations: 2.841 MB / 1.269 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/2.294, allocations: 2.949 MB / 1.272 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02257/2.317, allocations: 6.543 MB / 1.278 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.271e-05/2.317, allocations: 0 / 1.278 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.03389/2.351, allocations: 7.517 MB / 1.286 GB, free: 14.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/2.351, allocations: 4 kB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/2.351, allocations: 3.938 kB / 1.286 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001149/2.351, allocations: 32 kB / 1.286 GB, free: 14.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0192/2.37, allocations: 1.736 MB / 1.287 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002807/2.371, allocations: 32 kB / 1.287 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006889/2.377, allocations: 0.7476 MB / 1.288 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/2.38, allocations: 224 kB / 1.288 GB, free: 11.61 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1000): * Single equations (assignments): 1000 * 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.004689/2.384, allocations: 0.6212 MB / 1.289 GB, free: 10.97 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001763/2.386, allocations: 158.1 kB / 1.289 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02819/2.414, allocations: 5.876 MB / 1.295 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002201/2.415, allocations: 23.91 kB / 1.295 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/2.415, allocations: 4 kB / 1.295 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003503/2.418, allocations: 0.7319 MB / 1.295 GB, free: 4.133 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002164/2.421, allocations: 275.7 kB / 1.296 GB, free: 3.863 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005899/2.426, allocations: 331.6 kB / 1.296 GB, free: 3.539 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002368/2.429, allocations: 295.5 kB / 1.296 GB, free: 3.25 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.09408/2.523, allocations: 11.94 MB / 1.308 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05037/2.573, allocations: 9.379 MB / 1.317 GB, free: 13.88 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0107/2.584, allocations: 2.867 MB / 1.32 GB, free: 11.01 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001227/2.584, allocations: 83.53 kB / 1.32 GB, free: 10.93 MB / 1.045 GB Notification: Performance of Backend: time 4.047e-06/2.584, allocations: 0 / 1.32 GB, free: 10.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02683/2.611, allocations: 4.64 MB / 1.325 GB, free: 6.289 MB / 1.045 GB Notification: Performance of SimCode: time 0.03084/2.642, allocations: 12.26 MB / 1.337 GB, free: 9.941 MB / 1.061 GB Notification: Performance of Templates: time 0.2131/2.855, allocations: 55.42 MB / 1.391 GB, free: 2.43 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example7.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example7.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example7.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example7.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example7.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example7.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example7_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches