Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001324/0.001324, allocations: 103.5 kB / 16.27 MB, free: 5.961 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.001332/0.001332, allocations: 188.1 kB / 17.19 MB, free: 5.594 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 469.4 MB / 0.7427 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 63.66 kB / 0.9088 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3138, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002802/0.3167, allocations: 1.268 MB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003997/0.3207, allocations: 2.93 MB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.3207, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.3208, allocations: 3.938 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.3208, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.3214, allocations: 107.5 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.3215, allocations: 39.8 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.195e-05/0.3216, allocations: 3.984 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005063/0.3221, allocations: 155.5 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.3222, allocations: 15.91 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.3222, allocations: 4 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.3224, allocations: 59.89 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.3224, allocations: 11.98 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.3225, allocations: 11.92 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.3227, allocations: 76.02 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3227, allocations: 0 / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3227, allocations: 7.938 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3227, allocations: 0 / 1.069 GB, free: 10.35 MB / 0.8419 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.0004281/0.3231, allocations: 339.6 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3232, allocations: 8.625 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.3232, allocations: 8.844 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3233, allocations: 164.3 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3234, allocations: 8.375 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3234, allocations: 4.375 kB / 1.069 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.3235, allocations: 53.8 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3235, allocations: 4 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3236, allocations: 4 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3236, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.633e-05/0.3236, allocations: 23.91 kB / 1.069 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.3238, allocations: 165.7 kB / 1.07 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.3239, allocations: 54.55 kB / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.425e-05/0.324, allocations: 16.86 kB / 1.07 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.3247, allocations: 0.5947 MB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3247, allocations: 38.5 kB / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.3248, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0006087/0.3254, allocations: 302.2 kB / 1.071 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.3254, allocations: 55.41 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.3255, allocations: 93.86 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.3255, allocations: 29.7 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.3256, allocations: 84.05 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3256, allocations: 31.55 kB / 1.071 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3257, allocations: 29.7 kB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3258, allocations: 318.8 kB / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.03e-05/0.3259, allocations: 12 kB / 1.071 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/0.3259, allocations: 53.14 kB / 1.071 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3261, allocations: 81.02 kB / 1.071 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3261, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001385/0.3263, allocations: 89.55 kB / 1.071 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3263, allocations: 6.5 kB / 1.071 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3263, allocations: 4 kB / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3263, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.3264, allocations: 19.98 kB / 1.071 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.3264, allocations: 8.562 kB / 1.071 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.222e-05/0.3265, allocations: 7.938 kB / 1.071 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3265, allocations: 4 kB / 1.071 GB, free: 7.27 MB / 0.8419 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 7.93e-05/0.3266, allocations: 117.8 kB / 1.071 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.3266, allocations: 7.906 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.3266, allocations: 15.91 kB / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3267, allocations: 3.938 kB / 1.072 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3267, allocations: 0 / 1.072 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3267, allocations: 7.938 kB / 1.072 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.3269, allocations: 177.7 kB / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3269, allocations: 0 / 1.072 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.327, allocations: 19.98 kB / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.327, allocations: 288 / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.327, allocations: 0 / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3271, allocations: 0 / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3271, allocations: 4 kB / 1.072 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.3273, allocations: 175.4 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.3273, allocations: 89.02 kB / 1.072 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.3273, allocations: 4.031 kB / 1.072 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3275, allocations: 4 kB / 1.072 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.3275, allocations: 4 kB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.3275, allocations: 7.938 kB / 1.072 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.3275, allocations: 79.27 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3276, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002528/0.3278, allocations: 16 kB / 1.072 GB, free: 6.457 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001292/0.3279, allocations: 99.78 kB / 1.072 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.3281, allocations: 55.84 kB / 1.072 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3281, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.3281, allocations: 19.98 kB / 1.072 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3284, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.329, allocations: 352.3 kB / 1.073 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.3293, allocations: 0.6846 MB / 1.073 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.3294, allocations: 11.44 kB / 1.073 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3294, allocations: 0 / 1.073 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of Templates: time 0.002158/0.3315, allocations: 0.7798 MB / 1.074 GB, free: 4.395 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches