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.001136/0.001136, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001222/0.001222, allocations: 177.3 kB / 15.94 MB, free: 228 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.3/2.3, allocations: 390.2 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6668, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001186/0.668, allocations: 1.071 MB / 0.9546 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.6707, allocations: 2.578 MB / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.6707, allocations: 0 / 0.9571 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.828e-05/0.6708, allocations: 5.094 kB / 0.9571 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.535e-05/0.6709, allocations: 22.45 kB / 0.9572 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.6713, allocations: 158.5 kB / 0.9573 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.6715, allocations: 155.9 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.6715, allocations: 6.688 kB / 0.9575 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.795e-05/0.6716, allocations: 81.23 kB / 0.9576 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.801e-05/0.6717, allocations: 106.2 kB / 0.9577 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.6718, allocations: 14.91 kB / 0.9577 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.6721, allocations: 154.8 kB / 0.9578 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.6722, allocations: 75.38 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.6723, allocations: 57.3 kB / 0.9579 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.6725, allocations: 190.6 kB / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.6725, allocations: 0 / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6725, allocations: 0 / 0.9581 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.6726, allocations: 4 kB / 0.9581 GB, free: 4.605 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.0006906/0.6733, allocations: 0.5197 MB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.6733, allocations: 9.5 kB / 0.9586 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.6733, allocations: 47.86 kB / 0.9587 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.097e-05/0.6734, allocations: 16.91 kB / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.6737, allocations: 247.8 kB / 0.9589 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/0.6737, allocations: 23.89 kB / 0.959 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.6738, allocations: 13.09 kB / 0.959 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.6744, allocations: 314 kB / 0.9593 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.6744, allocations: 0 / 0.9593 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.6744, allocations: 9.422 kB / 0.9593 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.6744, allocations: 3.656 kB / 0.9593 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.6758, allocations: 0.8042 MB / 0.9601 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003023/0.6761, allocations: 314.1 kB / 0.9604 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.6778, allocations: 0.7852 MB / 0.9611 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.6781, allocations: 390.9 kB / 0.9615 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.6782, allocations: 40.25 kB / 0.9616 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.533e-06/0.6782, allocations: 0 / 0.9616 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001618/0.6798, allocations: 0.733 MB / 0.9623 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.6798, allocations: 59.05 kB / 0.9623 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.6799, allocations: 125.8 kB / 0.9624 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.68, allocations: 30.77 kB / 0.9625 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.68, allocations: 87.05 kB / 0.9626 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/0.6801, allocations: 132.2 kB / 0.9627 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.6801, allocations: 8 kB / 0.9627 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.6801, allocations: 326.3 kB / 0.963 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.6806, allocations: 224.2 kB / 0.9632 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.6811, allocations: 223.4 kB / 0.9634 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.6816, allocations: 214.8 kB / 0.9636 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6816, allocations: 0 / 0.9636 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00111/0.6827, allocations: 0.5024 MB / 0.9641 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.6828, allocations: 5.031 kB / 0.9641 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6828, allocations: 3.984 kB / 0.9641 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.6828, allocations: 2 kB / 0.9641 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.6832, allocations: 109 kB / 0.9642 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.6832, allocations: 5.516 kB / 0.9642 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.6834, allocations: 63.7 kB / 0.9643 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.6835, allocations: 20.02 kB / 0.9643 GB, free: 0.6953 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.6836, allocations: 132 kB / 0.9644 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.6836, allocations: 16 kB / 0.9645 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.6848, allocations: 0.5814 MB / 0.965 GB, free: 292 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6848, allocations: 8.062 kB / 0.965 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6848, allocations: 0 / 0.965 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6848, allocations: 9 kB / 0.965 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.6852, allocations: 313.2 kB / 0.9653 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.6852, allocations: 1.031 kB / 0.9653 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003725/0.6855, allocations: 108.8 kB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.6856, allocations: 5.953 kB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.6856, allocations: 7 kB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6856, allocations: 2.281 kB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6856, allocations: 4 kB / 0.9655 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.6869, allocations: 0.5509 MB / 0.966 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.687, allocations: 94.42 kB / 0.9661 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.971e-05/0.687, allocations: 10.55 kB / 0.9661 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.6872, allocations: 48.31 kB / 0.9662 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/0.6875, allocations: 119.5 kB / 0.9663 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.6875, allocations: 16.55 kB / 0.9663 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.6876, allocations: 102.3 kB / 0.9664 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6876, allocations: 0 / 0.9664 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004158/0.688, allocations: 117.5 kB / 0.9665 GB, free: 15.38 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.001776/0.6898, allocations: 1.178 MB / 0.9676 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.691, allocations: 0.5126 MB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6911, allocations: 0 / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.6916, allocations: 299 kB / 0.9684 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.692, allocations: 66.31 kB / 0.9685 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.6951, allocations: 1.604 MB / 0.9701 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.6954, allocations: 0.7324 MB / 0.9708 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004316/0.6958, allocations: 180 kB / 0.9709 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.696, allocations: 59.38 kB / 0.971 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of SimCode: time 5.61e-07/0.696, allocations: 0 / 0.971 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03283/0.7288, allocations: 6.624 MB / 0.9775 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.729, allocations: 180.9 kB / 0.9776 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.592, allocations: 1.266 kB / 0.9776 GB, free: 7.137 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