Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,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.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.393/1.393, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.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.412/2.412, allocations: 390.2 MB / 0.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.7439, allocations: 140.3 MB / 0.9496 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002208/0.7461, allocations: 1.387 MB / 0.9509 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002882/0.749, allocations: 2.917 MB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.7491, allocations: 1.719 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.763e-05/0.7492, allocations: 7.922 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.7493, allocations: 41.75 kB / 0.9538 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.7499, allocations: 183 kB / 0.954 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.7501, allocations: 248.8 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.7502, allocations: 3.875 kB / 0.9542 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.962e-05/0.7503, allocations: 89.89 kB / 0.9543 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.7504, allocations: 126.4 kB / 0.9544 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.7504, allocations: 15.16 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.7508, allocations: 138.4 kB / 0.9546 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.037e-05/0.7509, allocations: 84.77 kB / 0.9547 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.751, allocations: 94.02 kB / 0.9547 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.7513, allocations: 274.8 kB / 0.955 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.7513, allocations: 0 / 0.955 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7513, allocations: 4 kB / 0.955 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.7514, allocations: 1 kB / 0.955 GB, free: 4.867 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.000781/0.7521, allocations: 0.5204 MB / 0.9555 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.7522, allocations: 9.344 kB / 0.9555 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.7523, allocations: 26.02 kB / 0.9556 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.7525, allocations: 241.4 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.7526, allocations: 23.89 kB / 0.9558 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.7526, allocations: 13.94 kB / 0.9558 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.7532, allocations: 292.9 kB / 0.9561 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7532, allocations: 0 / 0.9561 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.7532, allocations: 8 kB / 0.9561 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7533, allocations: 7.781 kB / 0.9561 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.7546, allocations: 0.745 MB / 0.9568 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.7549, allocations: 310.6 kB / 0.9571 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.7565, allocations: 0.6847 MB / 0.9578 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/0.7569, allocations: 226.9 kB / 0.958 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.7573, allocations: 386.5 kB / 0.9584 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.7573, allocations: 44.47 kB / 0.9584 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.7573, allocations: 0 / 0.9584 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001594/0.7589, allocations: 0.6476 MB / 0.9591 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.759, allocations: 59.17 kB / 0.9591 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.7591, allocations: 122.3 kB / 0.9592 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.7591, allocations: 30.8 kB / 0.9593 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.7591, allocations: 102.9 kB / 0.9594 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.57e-05/0.7592, allocations: 118.4 kB / 0.9595 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.192e-05/0.7593, allocations: 67.8 kB / 0.9595 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.7594, allocations: 324.8 kB / 0.9599 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.7598, allocations: 198.5 kB / 0.96 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/0.7603, allocations: 194.6 kB / 0.9602 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000834/0.7611, allocations: 366.8 kB / 0.9606 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7612, allocations: 0 / 0.9606 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001003/0.7622, allocations: 471.3 kB / 0.961 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.7622, allocations: 6.812 kB / 0.961 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.7622, allocations: 0 / 0.961 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7622, allocations: 1.75 kB / 0.961 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.7626, allocations: 104.7 kB / 0.9611 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.7626, allocations: 1.125 kB / 0.9611 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.7628, allocations: 54.92 kB / 0.9612 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.7628, allocations: 12.66 kB / 0.9612 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 9.311e-05/0.7629, allocations: 139 kB / 0.9613 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.221e-05/0.763, allocations: 24.66 kB / 0.9614 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.7641, allocations: 0.5084 MB / 0.9619 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.7641, allocations: 4.438 kB / 0.9619 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7641, allocations: 0 / 0.9619 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.7641, allocations: 5.234 kB / 0.9619 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.7644, allocations: 309.5 kB / 0.9622 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.7644, allocations: 0 / 0.9622 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.7647, allocations: 100.3 kB / 0.9623 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.7647, allocations: 5 kB / 0.9623 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.7648, allocations: 16.2 kB / 0.9623 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.7648, allocations: 0.9688 kB / 0.9623 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7648, allocations: 5.031 kB / 0.9623 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.7659, allocations: 0.4939 MB / 0.9628 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.7659, allocations: 102.2 kB / 0.9629 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.766, allocations: 10.19 kB / 0.9629 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.7662, allocations: 35.42 kB / 0.9629 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.7664, allocations: 123.1 kB / 0.963 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.7664, allocations: 12.84 kB / 0.963 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.286e-05/0.7665, allocations: 103.7 kB / 0.9631 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7665, allocations: 0 / 0.9631 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004085/0.7669, allocations: 116.6 kB / 0.9632 GB, free: 15.52 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.0003537/0.7673, allocations: 189 kB / 0.9634 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.7685, allocations: 0.552 MB / 0.964 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.7685, allocations: 0.9688 kB / 0.964 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.7691, allocations: 256 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.0004167/0.7695, allocations: 76.39 kB / 0.9643 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/0.7702, allocations: 444.2 kB / 0.9647 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.7705, allocations: 0.7335 MB / 0.9654 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004042/0.771, allocations: 184.9 kB / 0.9656 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.771, allocations: 35.39 kB / 0.9656 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7711, allocations: 0 / 0.9656 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.009289/0.7803, allocations: 5.255 MB / 0.9708 GB, free: 11.37 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches