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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008669, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.00101/0.00101, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003535, allocations: 11.94 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.7992, allocations: 142.3 MB / 0.9538 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001308/0.8006, allocations: 1.09 MB / 0.9549 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.8036, allocations: 2.739 MB / 0.9576 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.8037, allocations: 0 / 0.9576 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.815e-05/0.8038, allocations: 8.797 kB / 0.9576 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.8039, allocations: 41.5 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004628/0.8044, allocations: 152.5 kB / 0.9578 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000284/0.8047, allocations: 279.5 kB / 0.958 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.676e-05/0.8048, allocations: 6.719 kB / 0.958 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/0.8049, allocations: 90.97 kB / 0.9581 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.805, allocations: 146.2 kB / 0.9583 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.8051, allocations: 10.75 kB / 0.9583 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.8054, allocations: 154.3 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.8055, allocations: 83.98 kB / 0.9585 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.8056, allocations: 55.95 kB / 0.9586 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.8059, allocations: 188.2 kB / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8059, allocations: 0 / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8059, allocations: 0 / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.8059, allocations: 1.219 kB / 0.9587 GB, free: 4.301 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.0007549/0.8066, allocations: 0.5273 MB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.8067, allocations: 13.09 kB / 0.9593 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.692e-05/0.8068, allocations: 48.08 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.8069, allocations: 21.94 kB / 0.9593 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.8071, allocations: 231 kB / 0.9596 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.8072, allocations: 27.58 kB / 0.9596 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.898e-05/0.8072, allocations: 14.06 kB / 0.9596 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005971/0.8078, allocations: 315.2 kB / 0.9599 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.8078, allocations: 4 kB / 0.9599 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.8078, allocations: 9.328 kB / 0.9599 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.8079, allocations: 8.062 kB / 0.9599 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.8094, allocations: 0.7997 MB / 0.9607 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.8098, allocations: 313.2 kB / 0.961 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.8114, allocations: 0.7785 MB / 0.9618 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.8119, allocations: 259.5 kB / 0.962 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/0.8123, allocations: 394.1 kB / 0.9624 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.8123, allocations: 37.16 kB / 0.9624 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 2.415e-06/0.8124, allocations: 0 / 0.9624 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001641/0.814, allocations: 0.733 MB / 0.9631 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.814, allocations: 59.31 kB / 0.9632 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.8142, allocations: 127.8 kB / 0.9633 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.8142, allocations: 30.83 kB / 0.9633 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.8142, allocations: 91.08 kB / 0.9634 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.8143, allocations: 129.9 kB / 0.9635 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.8144, allocations: 5 kB / 0.9636 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.8144, allocations: 328.2 kB / 0.9639 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.815, allocations: 224.7 kB / 0.9641 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.8154, allocations: 223.4 kB / 0.9643 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.8159, allocations: 215 kB / 0.9645 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8159, allocations: 3.938 kB / 0.9645 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001063/0.817, allocations: 0.4991 MB / 0.965 GB, free: 368 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.817, allocations: 8.281 kB / 0.965 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.817, allocations: 1.156 kB / 0.965 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.8171, allocations: 4.859 kB / 0.965 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.8175, allocations: 109.5 kB / 0.9651 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.8175, allocations: 10.05 kB / 0.9651 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.8177, allocations: 59.11 kB / 0.9652 GB, free: 300 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.8178, allocations: 16.02 kB / 0.9652 GB, free: 292 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.8179, allocations: 143.8 kB / 0.9653 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.8179, allocations: 16.84 kB / 0.9653 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.8193, allocations: 0.5773 MB / 0.9659 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.8193, allocations: 3.25 kB / 0.9659 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8193, allocations: 0.9688 kB / 0.9659 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.8193, allocations: 7.938 kB / 0.9659 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.8197, allocations: 314 kB / 0.9662 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.8197, allocations: 0 / 0.9662 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.8201, allocations: 109.7 kB / 0.9663 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.8201, allocations: 1.312 kB / 0.9663 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.8201, allocations: 11.92 kB / 0.9663 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8201, allocations: 1.375 kB / 0.9663 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8202, allocations: 3.938 kB / 0.9663 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.8213, allocations: 0.5473 MB / 0.9669 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.8213, allocations: 95.61 kB / 0.967 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.8214, allocations: 5.344 kB / 0.967 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.8216, allocations: 52.7 kB / 0.967 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.8218, allocations: 119.2 kB / 0.9671 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.8218, allocations: 16.52 kB / 0.9672 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.8219, allocations: 98.98 kB / 0.9672 GB, free: 15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8219, allocations: 1.375 kB / 0.9672 GB, free: 15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005243/0.8225, allocations: 120.1 kB / 0.9674 GB, free: 14.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/0.8242, allocations: 1.182 MB / 0.9685 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.8254, allocations: 0.5195 MB / 0.969 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8254, allocations: 0.9375 kB / 0.969 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005789/0.826, allocations: 282.4 kB / 0.9693 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.8264, allocations: 74.61 kB / 0.9694 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.8293, allocations: 1.607 MB / 0.9709 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.8296, allocations: 0.7339 MB / 0.9717 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004507/0.83, allocations: 190.9 kB / 0.9718 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.8302, allocations: 63.84 kB / 0.9719 GB, free: 12 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.8302, allocations: 0 / 0.9719 GB, free: 12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.8477, allocations: 6.653 MB / 0.9784 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.8479, allocations: 196 kB / 0.9786 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.944/2.792, allocations: 0 / 0.9786 GB, free: 6.445 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat does not exist to compare? outputFormat=mat