Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001479/0.001479, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6655 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9212/0.9225, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06813/0.9907, allocations: 62.62 MB / 1.15 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02139/1.012, allocations: 13.65 MB / 1.163 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/1.016, allocations: 65.25 kB / 1.163 GB, free: 14.72 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003675/1.019, allocations: 0.9512 MB / 1.164 GB, free: 14.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008579/1.028, allocations: 2.386 MB / 1.166 GB, free: 12.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005544/1.034, allocations: 1.628 MB / 1.168 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007993/1.042, allocations: 4.287 MB / 1.172 GB, free: 9.754 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00315/1.045, allocations: 1.409 MB / 1.174 GB, free: 9.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005274/1.05, allocations: 1.684 MB / 1.175 GB, free: 8.273 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00328/1.054, allocations: 1.293 MB / 1.176 GB, free: 7.508 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008433/1.054, allocations: 175.4 kB / 1.177 GB, free: 7.508 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004939/1.059, allocations: 1.428 MB / 1.178 GB, free: 6.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00113/1.061, allocations: 0.5032 MB / 1.179 GB, free: 6.367 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003054/1.064, allocations: 1.008 MB / 1.18 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007744/1.071, allocations: 3.163 MB / 1.183 GB, free: 3.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.071, allocations: 0 / 1.183 GB, free: 3.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.415e-06/1.071, allocations: 1.219 kB / 1.183 GB, free: 3.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001027/1.072, allocations: 0 / 1.183 GB, free: 3.52 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.007521/1.079, allocations: 2.348 MB / 1.185 GB, free: 1.805 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/1.079, allocations: 9.125 kB / 1.185 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/1.081, allocations: 319.4 kB / 1.185 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/1.085, allocations: 1.471 MB / 1.187 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/1.085, allocations: 160.7 kB / 1.187 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/1.086, allocations: 104.4 kB / 1.187 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003948/1.09, allocations: 1.434 MB / 1.188 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/1.09, allocations: 9 kB / 1.188 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/1.09, allocations: 48.28 kB / 1.188 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/1.09, allocations: 32.66 kB / 1.188 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/1.094, allocations: 1.336 MB / 1.19 GB, free: 14.7 MB / 0.9356 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.01083/1.104, allocations: 6.628 MB / 1.196 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/1.107, allocations: 1.167 MB / 1.197 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/1.108, allocations: 0.5649 MB / 1.198 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009364/1.109, allocations: 1.149 MB / 1.199 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/1.109, allocations: 48.16 kB / 1.199 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=77): time 3.597e-06/1.109, allocations: 0 / 1.199 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=77): time 0.004999/1.114, allocations: 1.588 MB / 1.201 GB, free: 5.496 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/1.114, allocations: 115.4 kB / 1.201 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002891/1.117, allocations: 1.407 MB / 1.202 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002419/1.118, allocations: 48.33 kB / 1.202 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006775/1.118, allocations: 0.7115 MB / 1.203 GB, free: 3.922 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/1.119, allocations: 260.8 kB / 1.203 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/1.119, allocations: 177.9 kB / 1.203 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.119, allocations: 338.2 kB / 1.204 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/1.121, allocations: 0.4936 MB / 1.204 GB, free: 3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/1.122, allocations: 0.7228 MB / 1.205 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/1.125, allocations: 1.136 MB / 1.206 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.125, allocations: 0.9688 kB / 1.206 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003843/1.129, allocations: 1.353 MB / 1.207 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.129, allocations: 7.094 kB / 1.207 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.129, allocations: 4.594 kB / 1.207 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/1.129, allocations: 9 kB / 1.207 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.13, allocations: 274.9 kB / 1.207 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.753e-05/1.13, allocations: 17.5 kB / 1.207 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/1.132, allocations: 158.4 kB / 1.208 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.132, allocations: 40.11 kB / 1.208 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002012/1.134, allocations: 0.7917 MB / 1.208 GB, free: 392 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001557/1.136, allocations: 0.7209 MB / 1.209 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002735/1.139, allocations: 1.122 MB / 1.21 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.556e-06/1.139, allocations: 4.953 kB / 1.21 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004098/1.143, allocations: 1.343 MB / 1.212 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/1.143, allocations: 7.75 kB / 1.212 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.143, allocations: 4.281 kB / 1.212 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.143, allocations: 13.09 kB / 1.212 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/1.144, allocations: 267 kB / 1.212 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/1.144, allocations: 15.56 kB / 1.212 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/1.146, allocations: 145.2 kB / 1.212 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.146, allocations: 39.98 kB / 1.212 GB, free: 14.22 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0004077/1.146, allocations: 240 kB / 1.212 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006751/1.147, allocations: 146.2 kB / 1.212 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/1.151, allocations: 1.478 MB / 1.214 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.151, allocations: 11.94 kB / 1.214 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.151, allocations: 0 / 1.214 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002578/1.153, allocations: 1.105 MB / 1.215 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006876/1.16, allocations: 3.098 MB / 1.218 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/1.16, allocations: 4 kB / 1.218 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009896/1.161, allocations: 191.7 kB / 1.218 GB, free: 7.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-05/1.161, allocations: 4.406 kB / 1.218 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.813e-05/1.161, allocations: 31.92 kB / 1.218 GB, free: 7.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.807e-05/1.161, allocations: 11.98 kB / 1.218 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.161, allocations: 7.938 kB / 1.218 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004788/1.166, allocations: 2.064 MB / 1.22 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.167, allocations: 382.7 kB / 1.221 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005527/1.168, allocations: 19.94 kB / 1.221 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/1.169, allocations: 107.9 kB / 1.221 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/1.17, allocations: 84.34 kB / 1.221 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.17, allocations: 43.95 kB / 1.221 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0018/1.172, allocations: 1.079 MB / 1.222 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.172, allocations: 0 / 1.222 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002976/1.175, allocations: 0.7955 MB / 1.223 GB, free: 3.043 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/1.176, allocations: 476.8 kB / 1.223 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00478/1.181, allocations: 1.814 MB / 1.225 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.181, allocations: 3.859 kB / 1.225 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/1.182, allocations: 0.621 MB / 1.225 GB, free: 148 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005144/1.187, allocations: 0.8258 MB / 1.226 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/1.193, allocations: 2.811 MB / 1.229 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.194, allocations: 1.277 MB / 1.23 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/1.195, allocations: 139.4 kB / 1.23 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of SimCode: time 1.102e-06/1.195, allocations: 0 / 1.23 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.0438/1.239, allocations: 28.88 MB / 1.259 GB, free: 14.29 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches