Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 108.2 kB / 16.41 MB, free: 6.457 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.001203/0.001203, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.07 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.16/2.16, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6866/0.6879, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001903/0.6898, allocations: 1.274 MB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.6927, allocations: 2.913 MB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.6927, allocations: 0 / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.6928, allocations: 4.547 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.6928, allocations: 6.125 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.6933, allocations: 107.2 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.539e-05/0.6934, allocations: 36.81 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.072e-05/0.6934, allocations: 1.578 kB / 1.093 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.6938, allocations: 156.7 kB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.6939, allocations: 18.81 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.6939, allocations: 5.969 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.694, allocations: 62.72 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.6941, allocations: 11.2 kB / 1.093 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.6941, allocations: 16.5 kB / 1.093 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.6943, allocations: 69.61 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6943, allocations: 4 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6943, allocations: 0.8125 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.6943, allocations: 0 / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003067/0.6946, allocations: 341.6 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.6946, allocations: 8.344 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.6947, allocations: 7.844 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.698e-05/0.6948, allocations: 164.8 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.6948, allocations: 10.19 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.6948, allocations: 11.27 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.6949, allocations: 58.34 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.6949, allocations: 0 / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6949, allocations: 0.9375 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6949, allocations: 5 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.695, allocations: 20.48 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.6951, allocations: 166.6 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.02e-05/0.6952, allocations: 57.31 kB / 1.094 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.6953, allocations: 22.39 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005331/0.6958, allocations: 0.5949 MB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.6958, allocations: 32.78 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.6958, allocations: 0 / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004778/0.6963, allocations: 299.8 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.485e-05/0.6963, allocations: 52.91 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.44e-05/0.6964, allocations: 100.1 kB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.6964, allocations: 27.3 kB / 1.095 GB, free: 292 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.6964, allocations: 93.61 kB / 1.095 GB, free: 196 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.6964, allocations: 29.17 kB / 1.095 GB, free: 172 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.6965, allocations: 23.91 kB / 1.095 GB, free: 152 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.6966, allocations: 329.8 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.6966, allocations: 13.67 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.6967, allocations: 48.55 kB / 1.096 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.851e-05/0.6968, allocations: 72.41 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6968, allocations: 0.8438 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001528/0.6969, allocations: 93.86 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.697, allocations: 6.906 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.697, allocations: 1.094 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.697, allocations: 2.828 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.6971, allocations: 26.44 kB / 1.096 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6971, allocations: 11.5 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.784e-05/0.6971, allocations: 1.719 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.6971, allocations: 8.109 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.905e-05/0.6972, allocations: 118.1 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.6973, allocations: 5.875 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.6973, allocations: 13.45 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6973, allocations: 1.859 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6973, allocations: 0 / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.6974, allocations: 86 kB / 1.096 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.6974, allocations: 13.97 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6975, allocations: 2.969 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.563e-05/0.6975, allocations: 4.031 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001605/0.6977, allocations: 145.5 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002049/0.6979, allocations: 258.9 kB / 1.096 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.711e-05/0.6979, allocations: 19.03 kB / 1.096 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 2.98e-05/0.698, allocations: 83.8 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of Backend: time 3.01e-07/0.698, allocations: 0 / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004313/0.6984, allocations: 128.6 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0006236/0.6991, allocations: 0.7732 MB / 1.097 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.003429/0.7025, allocations: 0.9649 MB / 1.098 GB, free: 13.96 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches