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.001209/0.00121, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001154/0.001154, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 64.06 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7551/0.7564, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example7): time 0.001523/0.758, allocations: 0.5368 MB / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000201/0.7582, allocations: 55.72 kB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.7582, allocations: 3.938 kB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 7.84e-05/0.7583, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.144e-05/0.7583, allocations: 0 / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.7585, allocations: 19.92 kB / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002405/0.7609, allocations: 3.16 MB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.301e-05/0.761, allocations: 20 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.7622, allocations: 1.147 MB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.7646, allocations: 1.591 MB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004165/0.765, allocations: 156 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.7653, allocations: 160 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0008243/0.7661, allocations: 1.076 MB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.7674, allocations: 1.097 MB / 1.176 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.7689, allocations: 2.033 MB / 1.178 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.769, allocations: 0 / 1.178 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.653e-06/0.769, allocations: 0 / 1.178 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.954e-05/0.769, allocations: 0 / 1.178 GB, free: 8.773 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.01247/0.7815, allocations: 4.904 MB / 1.183 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.7815, allocations: 8.922 kB / 1.183 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004981/0.782, allocations: 227.9 kB / 1.183 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.7836, allocations: 0.908 MB / 1.184 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.7838, allocations: 268.3 kB / 1.184 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007621/0.7846, allocations: 0.6125 MB / 1.185 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004582/0.7892, allocations: 3.013 MB / 1.188 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/0.7892, allocations: 192 / 1.188 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002543/0.7895, allocations: 79.94 kB / 1.188 GB, free: 14.65 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.7895, allocations: 48 kB / 1.188 GB, free: 14.6 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.7925, allocations: 1.936 MB / 1.19 GB, free: 12.66 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003503/0.796, allocations: 2.759 MB / 1.192 GB, free: 9.855 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07439/0.8704, allocations: 19.36 MB / 1.211 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004099/0.8746, allocations: 2.234 MB / 1.214 GB, free: 4.242 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006324/0.8752, allocations: 47.92 kB / 1.214 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/0.8753, allocations: 86.48 kB / 1.214 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=500): time 6.863e-06/0.8753, allocations: 0 / 1.214 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of matching and sorting (n=500): time 0.01377/0.8891, allocations: 7.081 MB / 1.221 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.8892, allocations: 99.33 kB / 1.221 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.8894, allocations: 261.7 kB / 1.221 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004713/0.8899, allocations: 185.7 kB / 1.221 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.8901, allocations: 187.9 kB / 1.221 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001781/0.8919, allocations: 2.282 MB / 1.224 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002165/0.894, allocations: 1.402 MB / 1.225 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.8941, allocations: 306 kB / 1.225 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004851/0.899, allocations: 2.841 MB / 1.228 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004682/0.9037, allocations: 2.949 MB / 1.231 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009296/0.913, allocations: 6.547 MB / 1.237 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/0.913, allocations: 0 / 1.237 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01164/0.9247, allocations: 7.539 MB / 1.245 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.9247, allocations: 4 kB / 1.245 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.9248, allocations: 0 / 1.245 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.664e-05/0.9248, allocations: 35.94 kB / 1.245 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007357/0.9322, allocations: 1.72 MB / 1.246 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001486/0.9324, allocations: 36 kB / 1.246 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/0.9354, allocations: 0.7611 MB / 1.247 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000522/0.9359, allocations: 216.2 kB / 1.247 GB, free: 1.594 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.001181/0.9371, allocations: 0.6173 MB / 1.248 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/0.9375, allocations: 163 kB / 1.248 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009725/0.9473, allocations: 5.891 MB / 1.254 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.091e-05/0.9473, allocations: 27.91 kB / 1.254 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.9474, allocations: 3.938 kB / 1.254 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.9486, allocations: 0.7444 MB / 1.255 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006299/0.9492, allocations: 279.7 kB / 1.255 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/0.9519, allocations: 319.6 kB / 1.255 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006689/0.9525, allocations: 299.5 kB / 1.255 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03946/0.992, allocations: 11.97 MB / 1.267 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01408/1.006, allocations: 9.409 MB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004222/1.01, allocations: 2.859 MB / 1.279 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.071e-05/1.01, allocations: 87.27 kB / 1.279 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of Backend: time 3.21e-07/1.01, allocations: 0 / 1.279 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008199/1.019, allocations: 4.652 MB / 1.284 GB, free: 12.2 MB / 1.014 GB Notification: Performance of SimCode: time 0.01164/1.03, allocations: 12.51 MB / 1.296 GB, free: 15.58 MB / 1.029 GB Notification: Performance of Templates: time 0.07875/1.109, allocations: 54.12 MB / 1.349 GB, free: 9.375 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