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.005343/0.005342, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001287/0.001288, allocations: 189.4 kB / 16.79 MB, free: 5.809 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.491/1.491, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.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.405/2.405, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6271/0.6292, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002549/0.6318, allocations: 1.446 MB / 0.951 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003122/0.6349, allocations: 2.911 MB / 0.9538 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.635, allocations: 9.531 kB / 0.9538 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.549e-05/0.6351, allocations: 7.984 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.6353, allocations: 37.59 kB / 0.9539 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005053/0.6358, allocations: 156.6 kB / 0.954 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.6361, allocations: 338.6 kB / 0.9544 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.6361, allocations: 3.812 kB / 0.9544 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.768e-05/0.6362, allocations: 80.83 kB / 0.9544 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.6364, allocations: 152.7 kB / 0.9546 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.6364, allocations: 11.06 kB / 0.9546 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004121/0.6368, allocations: 143.5 kB / 0.9547 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.637, allocations: 90.28 kB / 0.9548 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.6371, allocations: 86.22 kB / 0.9549 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.6373, allocations: 182.8 kB / 0.9551 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.6374, allocations: 5.031 kB / 0.9551 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.41e-07/0.6374, allocations: 0 / 0.9551 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.6374, allocations: 0 / 0.9551 GB, free: 4.875 MB / 0.7169 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.000772/0.6381, allocations: 0.5324 MB / 0.9556 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.6382, allocations: 9.812 kB / 0.9556 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.6383, allocations: 21.84 kB / 0.9556 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.6385, allocations: 245 kB / 0.9559 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/0.6386, allocations: 27.88 kB / 0.9559 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.6386, allocations: 14.59 kB / 0.9559 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/0.6393, allocations: 293.8 kB / 0.9562 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6393, allocations: 4 kB / 0.9562 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.6393, allocations: 5.156 kB / 0.9562 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.6393, allocations: 4.125 kB / 0.9562 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.6407, allocations: 0.7462 MB / 0.9569 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.641, allocations: 305.4 kB / 0.9572 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.6425, allocations: 0.6789 MB / 0.9579 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.6429, allocations: 227.8 kB / 0.9581 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003521/0.6433, allocations: 393.7 kB / 0.9585 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.6433, allocations: 47.81 kB / 0.9585 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.6433, allocations: 1.375 kB / 0.9585 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.00152/0.6449, allocations: 0.6432 MB / 0.9591 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.6449, allocations: 55.12 kB / 0.9592 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.645, allocations: 128.6 kB / 0.9593 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.645, allocations: 35.17 kB / 0.9593 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.697e-05/0.645, allocations: 90.89 kB / 0.9594 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.6451, allocations: 125.7 kB / 0.9596 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/0.6452, allocations: 61.09 kB / 0.9596 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.6453, allocations: 331.9 kB / 0.9599 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.6458, allocations: 199.2 kB / 0.9601 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.6462, allocations: 190.2 kB / 0.9603 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.647, allocations: 370.8 kB / 0.9607 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6471, allocations: 0 / 0.9607 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009808/0.648, allocations: 468.3 kB / 0.9611 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.6481, allocations: 4.75 kB / 0.9611 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6481, allocations: 0 / 0.9611 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6481, allocations: 10.19 kB / 0.9611 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.6485, allocations: 99.84 kB / 0.9612 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.6485, allocations: 1.438 kB / 0.9612 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.6487, allocations: 46.53 kB / 0.9613 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.6487, allocations: 15.7 kB / 0.9613 GB, free: 0.8242 MB / 0.7169 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.0001036/0.6488, allocations: 147.8 kB / 0.9614 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.6489, allocations: 24.78 kB / 0.9614 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.6499, allocations: 0.5087 MB / 0.9619 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.6499, allocations: 8.203 kB / 0.9619 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.65, allocations: 0.9375 kB / 0.9619 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.65, allocations: 3.984 kB / 0.9619 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.6502, allocations: 313.3 kB / 0.9622 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.6502, allocations: 1.156 kB / 0.9622 GB, free: 128 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.6506, allocations: 99.11 kB / 0.9623 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.6506, allocations: 5.969 kB / 0.9623 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.6506, allocations: 11.48 kB / 0.9624 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6506, allocations: 1.438 kB / 0.9624 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6506, allocations: 1.375 kB / 0.9624 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.6517, allocations: 0.4897 MB / 0.9628 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.6518, allocations: 99.02 kB / 0.9629 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.6518, allocations: 6.188 kB / 0.9629 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.652, allocations: 43.33 kB / 0.963 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/0.6522, allocations: 119.2 kB / 0.9631 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.6523, allocations: 16.89 kB / 0.9631 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.864e-05/0.6523, allocations: 96.23 kB / 0.9632 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6524, allocations: 0 / 0.9632 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004231/0.6528, allocations: 120 kB / 0.9633 GB, free: 15.51 MB / 0.7325 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.0003689/0.6532, allocations: 193.2 kB / 0.9635 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.6542, allocations: 470.4 kB / 0.9639 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6543, allocations: 0 / 0.9639 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.6548, allocations: 256.8 kB / 0.9642 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.6552, allocations: 82.97 kB / 0.9643 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008485/0.6561, allocations: 0.5148 MB / 0.9648 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.6564, allocations: 0.732 MB / 0.9655 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.6566, allocations: 42.69 kB / 0.9655 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.6566, allocations: 0 / 0.9655 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.008537/0.6651, allocations: 4.719 MB / 0.9701 GB, free: 11.6 MB / 0.7325 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 -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