Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 105.1 kB / 16.36 MB, free: 6.285 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.001663/0.001663, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 60.84 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2499, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002337/0.2523, allocations: 1.375 MB / 0.9525 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.2555, allocations: 2.927 MB / 0.9553 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.2555, allocations: 0 / 0.9553 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.129e-05/0.2556, allocations: 11.92 kB / 0.9553 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.2557, allocations: 35.81 kB / 0.9554 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004895/0.2562, allocations: 187.1 kB / 0.9555 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.2565, allocations: 239.5 kB / 0.9558 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.2565, allocations: 12 kB / 0.9558 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.864e-05/0.2566, allocations: 95.77 kB / 0.9559 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.2567, allocations: 119.8 kB / 0.956 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.2568, allocations: 12 kB / 0.956 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003277/0.2571, allocations: 131.9 kB / 0.9561 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.125e-05/0.2572, allocations: 99.69 kB / 0.9562 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.2573, allocations: 87.64 kB / 0.9563 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.2576, allocations: 271.2 kB / 0.9566 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.2577, allocations: 0 / 0.9566 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2577, allocations: 0 / 0.9566 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2577, allocations: 0 / 0.9566 GB, free: 2.473 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007562/0.2584, allocations: 0.5301 MB / 0.9571 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.2585, allocations: 8.031 kB / 0.9571 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.2586, allocations: 24.73 kB / 0.9571 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.2589, allocations: 236 kB / 0.9573 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.2589, allocations: 28.36 kB / 0.9574 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.259, allocations: 12.38 kB / 0.9574 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.2595, allocations: 293 kB / 0.9577 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2596, allocations: 4 kB / 0.9577 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2596, allocations: 4 kB / 0.9577 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2596, allocations: 8 kB / 0.9577 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.2609, allocations: 0.7413 MB / 0.9584 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.2613, allocations: 313 kB / 0.9587 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.2628, allocations: 0.6832 MB / 0.9594 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.2633, allocations: 228.7 kB / 0.9596 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/0.2637, allocations: 388.4 kB / 0.9599 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.2637, allocations: 38.5 kB / 0.96 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=37): time 1.492e-06/0.2637, allocations: 4 kB / 0.96 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37): time 0.001508/0.2652, allocations: 0.6545 MB / 0.9606 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.2653, allocations: 55.41 kB / 0.9607 GB, free: 14 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.812e-05/0.2654, allocations: 122.1 kB / 0.9608 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2654, allocations: 29.7 kB / 0.9608 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.2655, allocations: 96.72 kB / 0.9609 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.2656, allocations: 134.1 kB / 0.961 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.234e-05/0.2657, allocations: 61.67 kB / 0.9611 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2659, allocations: 330.8 kB / 0.9614 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004352/0.2663, allocations: 187.8 kB / 0.9616 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.2668, allocations: 207.9 kB / 0.9618 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008161/0.2676, allocations: 360.3 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.2676, allocations: 4 kB / 0.9621 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009846/0.2686, allocations: 468.9 kB / 0.9626 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2686, allocations: 7.984 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2686, allocations: 4 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2687, allocations: 0 / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.269, allocations: 103.8 kB / 0.9627 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.269, allocations: 0 / 0.9627 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2692, allocations: 51.7 kB / 0.9627 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.2692, allocations: 11.98 kB / 0.9628 GB, free: 11.82 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001183/0.2694, allocations: 141.8 kB / 0.9629 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.2694, allocations: 19.75 kB / 0.9629 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.2705, allocations: 0.5063 MB / 0.9634 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2705, allocations: 8 kB / 0.9634 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2706, allocations: 4 kB / 0.9634 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.2706, allocations: 3.984 kB / 0.9634 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.2709, allocations: 313.3 kB / 0.9637 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2709, allocations: 0 / 0.9637 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.2712, allocations: 103.8 kB / 0.9638 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2713, allocations: 0 / 0.9638 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.2713, allocations: 8 kB / 0.9638 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2713, allocations: 8 kB / 0.9638 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2713, allocations: 0 / 0.9638 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.2723, allocations: 0.4925 MB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.2724, allocations: 100.8 kB / 0.9644 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.2724, allocations: 7.984 kB / 0.9644 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.2726, allocations: 31.97 kB / 0.9645 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.2729, allocations: 123.8 kB / 0.9646 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.2729, allocations: 12 kB / 0.9646 GB, free: 9.852 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.273, allocations: 107.1 kB / 0.9647 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.273, allocations: 0 / 0.9647 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003507/0.2733, allocations: 115.9 kB / 0.9648 GB, free: 9.637 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 37 * 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.0003227/0.2737, allocations: 187 kB / 0.965 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.2747, allocations: 467.3 kB / 0.9654 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2747, allocations: 0 / 0.9654 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.2752, allocations: 264.6 kB / 0.9657 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.2756, allocations: 88.89 kB / 0.9658 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.2764, allocations: 430.2 kB / 0.9662 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.2767, allocations: 0.7328 MB / 0.9669 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003863/0.2771, allocations: 184.8 kB / 0.9671 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.2772, allocations: 39.42 kB / 0.9671 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.2772, allocations: 0 / 0.9671 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of Templates: time 0.009429/0.2866, allocations: 5.263 MB / 0.9722 GB, free: 2.023 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches