Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Fluid.Examples.Performance.Example7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_10_Buildings.Fluid.Examples.Performance.Example7") translateModel(Buildings.Fluid.Examples.Performance.Example7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T.2.",fileNamePrefix="Buildings_10_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.001148/0.001148, allocations: 115 kB / 16.42 MB, free: 6.02 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.001157/0.001158, allocations: 184.3 kB / 17.35 MB, free: 5.625 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.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.44/2.44, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 68.11 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7355, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example7): time 0.001573/0.7371, allocations: 0.5429 MB / 1.168 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001825/0.7373, allocations: 43.84 kB / 1.168 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.7374, allocations: 4 kB / 1.168 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.138e-05/0.7375, allocations: 7.875 kB / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.139e-05/0.7375, allocations: 0 / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.7377, allocations: 11.98 kB / 1.168 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.7402, allocations: 3.168 MB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/0.7403, allocations: 20 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.7416, allocations: 1.147 MB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.7441, allocations: 1.587 MB / 1.174 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005699/0.7446, allocations: 156 kB / 1.174 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.7451, allocations: 156 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008399/0.7459, allocations: 1.076 MB / 1.175 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.7473, allocations: 1.097 MB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.7488, allocations: 2.036 MB / 1.178 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.7489, allocations: 0 / 1.178 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7489, allocations: 0 / 1.178 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.641e-05/0.7489, allocations: 4 kB / 1.178 GB, free: 8.828 MB / 0.9044 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.01298/0.7619, allocations: 4.893 MB / 1.183 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.7619, allocations: 8.922 kB / 1.183 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005578/0.7625, allocations: 239.9 kB / 1.183 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00169/0.7642, allocations: 0.9002 MB / 1.184 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.7644, allocations: 268.3 kB / 1.184 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008476/0.7653, allocations: 0.6125 MB / 1.185 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/0.7701, allocations: 3.005 MB / 1.188 GB, free: 14.8 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.7701, allocations: 4.125 kB / 1.188 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.7704, allocations: 83.94 kB / 1.188 GB, free: 14.71 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/0.7704, allocations: 48 kB / 1.188 GB, free: 14.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003069/0.7735, allocations: 1.94 MB / 1.19 GB, free: 12.72 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/0.7773, allocations: 2.759 MB / 1.192 GB, free: 9.914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06744/0.8447, allocations: 19.36 MB / 1.211 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003628/0.8484, allocations: 2.226 MB / 1.214 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005909/0.849, allocations: 51.92 kB / 1.214 GB, free: 4.258 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.077e-05/0.8491, allocations: 86.42 kB / 1.214 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=500): time 7.053e-06/0.8491, allocations: 0 / 1.214 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=500): time 0.01279/0.8619, allocations: 7.078 MB / 1.221 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.862, allocations: 107.3 kB / 1.221 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002339/0.8622, allocations: 261.7 kB / 1.221 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004822/0.8627, allocations: 181.7 kB / 1.221 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.8629, allocations: 187.9 kB / 1.221 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00162/0.8645, allocations: 2.289 MB / 1.224 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/0.8665, allocations: 1.394 MB / 1.225 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.8666, allocations: 310 kB / 1.225 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00469/0.8713, allocations: 2.837 MB / 1.228 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00473/0.876, allocations: 2.953 MB / 1.231 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/0.8863, allocations: 6.547 MB / 1.237 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/0.8863, allocations: 0 / 1.237 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01275/0.8991, allocations: 7.527 MB / 1.245 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.8991, allocations: 4 kB / 1.245 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.8992, allocations: 4 kB / 1.245 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.301e-05/0.8992, allocations: 31.94 kB / 1.245 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006878/0.9061, allocations: 1.732 MB / 1.246 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001331/0.9063, allocations: 32 kB / 1.246 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/0.9091, allocations: 0.7611 MB / 1.247 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006279/0.9097, allocations: 220 kB / 1.247 GB, free: 1.656 MB / 0.9669 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.001423/0.9111, allocations: 0.6172 MB / 1.248 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005498/0.9117, allocations: 171 kB / 1.248 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009852/0.9216, allocations: 5.88 MB / 1.254 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.532e-05/0.9216, allocations: 27.91 kB / 1.254 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.9217, allocations: 4.188 kB / 1.254 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.923, allocations: 0.7483 MB / 1.255 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006495/0.9236, allocations: 271.7 kB / 1.255 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/0.926, allocations: 331.6 kB / 1.255 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007378/0.9267, allocations: 299.5 kB / 1.255 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03816/0.9649, allocations: 11.96 MB / 1.267 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0155/0.9804, allocations: 9.409 MB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004593/0.9851, allocations: 2.867 MB / 1.279 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.9851, allocations: 79.28 kB / 1.279 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of Backend: time 5.41e-07/0.9852, allocations: 0 / 1.279 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009039/0.9942, allocations: 4.652 MB / 1.284 GB, free: 12.26 MB / 1.014 GB Notification: Performance of SimCode: time 0.01379/1.008, allocations: 12.5 MB / 1.296 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Templates: time 0.08562/1.094, allocations: 54.12 MB / 1.349 GB, free: 9.434 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example7.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example7.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example7.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example7.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example7.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example7.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches