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.001554/0.001554, allocations: 104.5 kB / 15.99 MB, free: 6.355 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.001784/0.001784, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 15.42 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.244/2.244, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 60.17 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3057, allocations: 140.4 MB / 0.9497 GB, free: 9.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.003078/0.3088, allocations: 1.339 MB / 0.9511 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004179/0.313, allocations: 2.911 MB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.659e-05/0.3131, allocations: 0 / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.3131, allocations: 3.938 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.3132, allocations: 3.984 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.3138, allocations: 91.61 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.815e-05/0.3139, allocations: 31.92 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.314, allocations: 7.984 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.3146, allocations: 151.5 kB / 0.9542 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.3146, allocations: 15.98 kB / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.3146, allocations: 0 / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.3148, allocations: 71.81 kB / 0.9543 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.3149, allocations: 11.92 kB / 0.9543 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.3149, allocations: 15.94 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.3151, allocations: 44.14 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3151, allocations: 0 / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3151, allocations: 0 / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.3151, allocations: 4 kB / 0.9543 GB, free: 4.562 MB / 0.7325 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.0004881/0.3156, allocations: 339.6 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3156, allocations: 15.97 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.3157, allocations: 4.844 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.3158, allocations: 172.3 kB / 0.9548 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3158, allocations: 4.375 kB / 0.9548 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.3159, allocations: 4.375 kB / 0.9548 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.316, allocations: 57.8 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.3161, allocations: 7.938 kB / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3161, allocations: 0 / 0.9549 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3161, allocations: 4 kB / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.3161, allocations: 11.98 kB / 0.9549 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002061/0.3164, allocations: 165.7 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.3165, allocations: 50.56 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.3165, allocations: 12.86 kB / 0.9551 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007796/0.3173, allocations: 0.6064 MB / 0.9557 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.3173, allocations: 38.55 kB / 0.9558 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.45e-05/0.3173, allocations: 0 / 0.9558 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0006263/0.318, allocations: 302.5 kB / 0.9561 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.318, allocations: 55.41 kB / 0.9561 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.379e-05/0.3181, allocations: 101.8 kB / 0.9562 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3182, allocations: 25.7 kB / 0.9562 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.3182, allocations: 88.05 kB / 0.9563 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3182, allocations: 27.56 kB / 0.9563 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.3183, allocations: 25.7 kB / 0.9564 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3184, allocations: 322.8 kB / 0.9567 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.198e-05/0.3184, allocations: 11.98 kB / 0.9567 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.926e-05/0.3185, allocations: 61.08 kB / 0.9567 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.507e-05/0.3186, allocations: 65.09 kB / 0.9568 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3186, allocations: 4 kB / 0.9568 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001421/0.3188, allocations: 93.55 kB / 0.9569 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3188, allocations: 4 kB / 0.9569 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.3188, allocations: 0 / 0.9569 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3188, allocations: 4 kB / 0.9569 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.3189, allocations: 23.98 kB / 0.9569 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.3189, allocations: 12 kB / 0.9569 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.319, allocations: 3.938 kB / 0.9569 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.319, allocations: 8.125 kB / 0.957 GB, free: 1.461 MB / 0.7325 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 8.814e-05/0.3191, allocations: 113.8 kB / 0.9571 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.3191, allocations: 3.906 kB / 0.9571 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.8e-05/0.3192, allocations: 15.95 kB / 0.9571 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3192, allocations: 0 / 0.9571 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3192, allocations: 0 / 0.9571 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3192, allocations: 7.875 kB / 0.9571 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.3195, allocations: 177.7 kB / 0.9573 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3195, allocations: 0 / 0.9573 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.698e-05/0.3196, allocations: 16 kB / 0.9573 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3196, allocations: 7.938 kB / 0.9573 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3196, allocations: 3.938 kB / 0.9573 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3196, allocations: 3.984 kB / 0.9573 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3196, allocations: 0 / 0.9573 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.3198, allocations: 167.5 kB / 0.9575 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.3199, allocations: 85.05 kB / 0.9575 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.3199, allocations: 4 kB / 0.9575 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.32, allocations: 8 kB / 0.9575 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.32, allocations: 8.359 kB / 0.9576 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.32, allocations: 4 kB / 0.9576 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.3201, allocations: 83.27 kB / 0.9576 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3201, allocations: 0 / 0.9576 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002452/0.3203, allocations: 12 kB / 0.9576 GB, free: 0.6562 MB / 0.7325 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.000141/0.3205, allocations: 111.4 kB / 0.9578 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.3206, allocations: 51.89 kB / 0.9578 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3206, allocations: 0 / 0.9578 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.527e-05/0.3207, allocations: 16 kB / 0.9578 GB, free: 484 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.321, allocations: 11.94 kB / 0.9578 GB, free: 472 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.3216, allocations: 352.4 kB / 0.9582 GB, free: 88 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.3219, allocations: 0.6845 MB / 0.9588 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.3219, allocations: 15.44 kB / 0.9588 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of SimCode: time 4.41e-07/0.3219, allocations: 4 kB / 0.9589 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of Templates: time 0.002566/0.3245, allocations: 0.7769 MB / 0.9596 GB, free: 14.58 MB / 0.7481 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