Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.006189/0.006189, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001166/0.001167, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.44/2.44, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.91 kB / 1.018 GB, free: 9.473 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9817/0.983, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002364/0.9854, allocations: 1.262 MB / 1.168 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003723/0.9891, allocations: 2.936 MB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.9892, allocations: 3.938 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.987e-05/0.9892, allocations: 3.938 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-05/0.9893, allocations: 3.984 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005913/0.9898, allocations: 95.55 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.698e-05/0.9899, allocations: 35.86 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.99, allocations: 7.969 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.9905, allocations: 155.5 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.316e-05/0.9906, allocations: 23.91 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.9906, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.9908, allocations: 63.88 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.9908, allocations: 8 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.9908, allocations: 23.91 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.991, allocations: 64.3 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9911, allocations: 0 / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9911, allocations: 0 / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.9911, allocations: 4 kB / 1.171 GB, free: 15.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00047/0.9916, allocations: 343.4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.9916, allocations: 8.922 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.9917, allocations: 4.938 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.9918, allocations: 164.3 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.9918, allocations: 12.36 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.9919, allocations: 8.328 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.992, allocations: 57.8 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.992, allocations: 4 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.9921, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.9921, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.291e-05/0.9921, allocations: 23.92 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.9924, allocations: 161.7 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.9925, allocations: 50.56 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.535e-05/0.9925, allocations: 24.84 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/0.9933, allocations: 0.5988 MB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.9934, allocations: 34.5 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.9934, allocations: 0 / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0006852/0.994, allocations: 298.3 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.9941, allocations: 55.41 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.9942, allocations: 105.8 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.9942, allocations: 29.64 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.9943, allocations: 84.09 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.9943, allocations: 31.73 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.9943, allocations: 25.72 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.9945, allocations: 322.8 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.794e-05/0.9945, allocations: 11.94 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-05/0.9946, allocations: 57.14 kB / 1.174 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.9947, allocations: 77.02 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.9947, allocations: 4 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000144/0.9948, allocations: 97.5 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.9948, allocations: 8 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9949, allocations: 0 / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.9949, allocations: 4.281 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.995, allocations: 16 kB / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.995, allocations: 0 / 1.174 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.995, allocations: 11.88 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.995, allocations: 4.203 kB / 1.174 GB, free: 12.08 MB / 0.9044 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.97e-05/0.9951, allocations: 117.8 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/0.9952, allocations: 7.984 kB / 1.174 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.9952, allocations: 7.969 kB / 1.174 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.9952, allocations: 4 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.9952, allocations: 0 / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.9952, allocations: 3.938 kB / 1.174 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.9955, allocations: 177.7 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9955, allocations: 0 / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.513e-05/0.9956, allocations: 15.98 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.9956, allocations: 4.438 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/0.9956, allocations: 4 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.9956, allocations: 3.984 kB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.9956, allocations: 11.88 kB / 1.174 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.9958, allocations: 171.5 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.9959, allocations: 81.11 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.9959, allocations: 4 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.996, allocations: 8 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.996, allocations: 3.984 kB / 1.174 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.996, allocations: 7.938 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.9961, allocations: 79.28 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9961, allocations: 0 / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002279/0.9963, allocations: 12 kB / 1.174 GB, free: 11.27 MB / 0.9044 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.0001398/0.9965, allocations: 107.2 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.9966, allocations: 47.84 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9966, allocations: 4 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.9966, allocations: 12 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.9969, allocations: 8 kB / 1.175 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.9975, allocations: 338.1 kB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.9978, allocations: 0.6846 MB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.9979, allocations: 8 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.9979, allocations: 11.44 kB / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.9979, allocations: 0 / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of Templates: time 0.002922/1.001, allocations: 0.6294 MB / 1.176 GB, free: 9.379 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches