Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001013/0.001013, allocations: 108.2 kB / 16.37 MB, free: 6.008 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.001129/0.001129, allocations: 193.8 kB / 17.3 MB, free: 5.617 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.462/2.462, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 62.19 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3238, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002562/0.3264, allocations: 1.402 MB / 1.028 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003477/0.3299, allocations: 2.909 MB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.33, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.427e-05/0.3301, allocations: 7.938 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.3303, allocations: 39.8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.3309, allocations: 191.1 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.3311, allocations: 239.5 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.3312, allocations: 7.984 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.002e-05/0.3313, allocations: 95.84 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.3314, allocations: 123.7 kB / 1.032 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.3315, allocations: 8 kB / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.3319, allocations: 139.8 kB / 1.032 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.332, allocations: 83.81 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.3321, allocations: 103.6 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.3324, allocations: 271.3 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3324, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.486e-06/0.3324, allocations: 0 / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.3324, allocations: 3.938 kB / 1.032 GB, free: 12.46 MB / 0.8106 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.0008038/0.3332, allocations: 0.5312 MB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3333, allocations: 8.031 kB / 1.033 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.3334, allocations: 16.75 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3337, allocations: 236 kB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.44e-05/0.3337, allocations: 28.34 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3338, allocations: 20.38 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.3344, allocations: 289.3 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3344, allocations: 3.938 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.3344, allocations: 7.984 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3344, allocations: 4 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.3358, allocations: 0.7491 MB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.3362, allocations: 305.1 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.3378, allocations: 0.6722 MB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/0.3383, allocations: 228.7 kB / 1.035 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004135/0.3387, allocations: 388.4 kB / 1.036 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.3387, allocations: 42.48 kB / 1.036 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=37): time 1.614e-06/0.3387, allocations: 3.938 kB / 1.036 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37): time 0.001577/0.3403, allocations: 0.6441 MB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3404, allocations: 63.34 kB / 1.036 GB, free: 8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.975e-05/0.3405, allocations: 129.9 kB / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.3405, allocations: 37.7 kB / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.3406, allocations: 84.8 kB / 1.037 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.3407, allocations: 130.1 kB / 1.037 GB, free: 7.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.637e-05/0.3408, allocations: 65.69 kB / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3409, allocations: 330.8 kB / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.3414, allocations: 191.8 kB / 1.037 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.3418, allocations: 204.5 kB / 1.037 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008317/0.3427, allocations: 360.5 kB / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3427, allocations: 0 / 1.038 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001058/0.3438, allocations: 472.9 kB / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3438, allocations: 8 kB / 1.038 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3438, allocations: 0 / 1.038 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3438, allocations: 0 / 1.038 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.3442, allocations: 103.8 kB / 1.038 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3442, allocations: 0 / 1.038 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.3444, allocations: 43.72 kB / 1.038 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.3444, allocations: 23.98 kB / 1.038 GB, free: 5.82 MB / 0.8106 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.0001237/0.3445, allocations: 145.7 kB / 1.039 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.3446, allocations: 23.75 kB / 1.039 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.3457, allocations: 0.5063 MB / 1.039 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3458, allocations: 7.984 kB / 1.039 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3458, allocations: 0 / 1.039 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3458, allocations: 0 / 1.039 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.3461, allocations: 321.2 kB / 1.039 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3461, allocations: 0 / 1.039 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.3464, allocations: 103.8 kB / 1.039 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3465, allocations: 4 kB / 1.039 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.3465, allocations: 11.98 kB / 1.039 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3465, allocations: 0 / 1.039 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3465, allocations: 0 / 1.039 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3476, allocations: 0.4965 MB / 1.04 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.3477, allocations: 96.8 kB / 1.04 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.3477, allocations: 8 kB / 1.04 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3479, allocations: 39.95 kB / 1.04 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.3481, allocations: 115.7 kB / 1.04 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.3481, allocations: 19.98 kB / 1.04 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.903e-05/0.3482, allocations: 95.27 kB / 1.04 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3482, allocations: 0 / 1.04 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003759/0.3486, allocations: 119.9 kB / 1.04 GB, free: 3.621 MB / 0.8106 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.0004/0.349, allocations: 187.1 kB / 1.041 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.3501, allocations: 475.2 kB / 1.041 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3501, allocations: 0 / 1.041 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.3506, allocations: 263.5 kB / 1.041 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.351, allocations: 67.94 kB / 1.041 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007638/0.3518, allocations: 428 kB / 1.042 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.3521, allocations: 0.7289 MB / 1.042 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003927/0.3525, allocations: 191.5 kB / 1.043 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.839e-05/0.3526, allocations: 39.41 kB / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.3526, allocations: 0 / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of Templates: time 0.009329/0.3619, allocations: 5.261 MB / 1.048 GB, free: 12.03 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches