Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 387.4 MB / 394.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 176.8 kB / 487.4 MB, free: 5.023 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 102.5 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.745e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2504, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9348/1.185, allocations: 154 MB / 1.356 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.186, allocations: 82.08 kB / 1.357 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05197/1.238, allocations: 22.54 MB / 1.379 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.238, allocations: 0 / 1.379 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.646e-05/1.238, allocations: 34.88 kB / 1.379 GB, free: 29.87 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 352 * Number of variables: 352 Notification: Performance of Generate backend data structure: time 0.002426/1.24, allocations: 1.572 MB / 1.38 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.24, allocations: 12.12 kB / 1.38 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/1.24, allocations: 194.2 kB / 1.38 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/1.242, allocations: 1.139 MB / 1.381 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/1.242, allocations: 42.56 kB / 1.381 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/1.242, allocations: 92.64 kB / 1.382 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001368/1.244, allocations: 0.8239 MB / 1.382 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/1.245, allocations: 1.077 MB / 1.383 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/1.245, allocations: 11.61 kB / 1.383 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.675e-05/1.246, allocations: 0 / 1.383 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/1.246, allocations: 34.78 kB / 1.383 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005556/1.251, allocations: 4.208 MB / 1.388 GB, free: 25.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.252, allocations: 0.7028 MB / 1.388 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/1.253, allocations: 344.7 kB / 1.389 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/1.253, allocations: 23.58 kB / 1.389 GB, free: 25.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005753/1.253, allocations: 417.2 kB / 1.389 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=87): time 2.725e-06/1.253, allocations: 4 kB / 1.389 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87): time 0.0009239/1.254, allocations: 0.6266 MB / 1.39 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/1.254, allocations: 243 kB / 1.39 GB, free: 25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007589/1.255, allocations: 0.7486 MB / 1.391 GB, free: 24.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/1.255, allocations: 43.77 kB / 1.391 GB, free: 24.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/1.255, allocations: 0.7433 MB / 1.391 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/1.256, allocations: 270.6 kB / 1.392 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/1.256, allocations: 3.844 kB / 1.392 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001601/1.256, allocations: 353.8 kB / 1.392 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004225/1.256, allocations: 287.9 kB / 1.392 GB, free: 23.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/1.257, allocations: 0.6254 MB / 1.393 GB, free: 23.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/1.257, allocations: 356.2 kB / 1.393 GB, free: 23.31 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.257, allocations: 3.844 kB / 1.393 GB, free: 23.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001306/1.259, allocations: 0.9544 MB / 1.394 GB, free: 23.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009256/1.26, allocations: 2.825 MB / 1.397 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/1.26, allocations: 15.45 kB / 1.397 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.26, allocations: 15.53 kB / 1.397 GB, free: 20.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/1.261, allocations: 225 kB / 1.397 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/1.261, allocations: 15.62 kB / 1.397 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008718/1.261, allocations: 183.1 kB / 1.397 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/1.262, allocations: 49.66 kB / 1.397 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/1.262, allocations: 3.812 kB / 1.397 GB, free: 19.98 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001108/1.263, allocations: 0.7812 MB / 1.398 GB, free: 19.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.263, allocations: 7.688 kB / 1.398 GB, free: 19.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/1.263, allocations: 15.38 kB / 1.398 GB, free: 19.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/1.263, allocations: 204.7 kB / 1.398 GB, free: 19.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.263, allocations: 19.25 kB / 1.398 GB, free: 19.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/1.264, allocations: 140.1 kB / 1.399 GB, free: 19.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/1.264, allocations: 45.16 kB / 1.399 GB, free: 19.74 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition4,$whenCondition5,$whenCondition6,cooVal.limPI.trigger,$PRE.cooVal.TOutThr.y,cooVal.TOutThr.y,$PRE.cooVal.uFanFeeThr.y,cooVal.uFanFeeThr.y,$PRE.cooVal.cha.u,cooVal.cha.u,$PRE.uSupFan.y,uSupFan.y,$whenCondition3,cooVal3.limPI.trigger,$PRE.cooVal3.TOutThr.y,cooVal3.TOutThr.y,$PRE.cooVal3.uFanFeeThr.y,cooVal3.uFanFeeThr.y,$PRE.cooVal3.cha.u,cooVal3.cha.u,$whenCondition2,cooVal1.limPI.trigger,$PRE.cooVal1.TOutThr.y,cooVal1.TOutThr.y,$PRE.cooVal1.uFanFeeThr.y,cooVal1.uFanFeeThr.y,$PRE.cooVal1.cha.u,cooVal1.cha.u,$whenCondition1,cooVal2.limPI.trigger,$PRE.cooVal2.TOutThr.y,cooVal2.TOutThr.y,$PRE.cooVal2.uFanFeeThr.y,cooVal2.uFanFeeThr.y,$PRE.cooVal2.cha.u,cooVal2.cha.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 1 * 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.0002303/1.264, allocations: 159 kB / 1.399 GB, free: 19.6 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007942/1.265, allocations: 0.6089 MB / 1.399 GB, free: 19.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/1.265, allocations: 120.6 kB / 1.399 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/1.266, allocations: 0.6618 MB / 1.4 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.266, allocations: 11.8 kB / 1.4 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/1.266, allocations: 3.625 kB / 1.4 GB, free: 19.23 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/1.266, allocations: 7.938 kB / 1.4 GB, free: 19.22 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/1.269, allocations: 2.124 MB / 1.402 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.269, allocations: 8.062 kB / 1.402 GB, free: 18.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/1.269, allocations: 157.4 kB / 1.402 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/1.269, allocations: 3.844 kB / 1.402 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/1.269, allocations: 15.2 kB / 1.402 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.269, allocations: 11.75 kB / 1.402 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.269, allocations: 7.875 kB / 1.402 GB, free: 18.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/1.271, allocations: 1.472 MB / 1.404 GB, free: 17.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/1.271, allocations: 196.3 kB / 1.404 GB, free: 17.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/1.271, allocations: 19.3 kB / 1.404 GB, free: 17.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/1.272, allocations: 74.05 kB / 1.404 GB, free: 17.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.272, allocations: 91.89 kB / 1.404 GB, free: 17.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/1.272, allocations: 34 kB / 1.404 GB, free: 17.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005936/1.273, allocations: 0.5321 MB / 1.405 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.502e-06/1.273, allocations: 0 / 1.405 GB, free: 17.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001342/1.274, allocations: 469 kB / 1.405 GB, free: 16.92 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (cooVal2.limPI.I.y,cooVal1.limPI.I.y,cooVal3.limPI.I.y,cooVal.limPI.I.y) * Number of discrete variables: 23 (cooVal2.limPI.trigger,$whenCondition1,cooVal2.TOutThr.y,cooVal2.uFanFeeThr.y,cooVal2.cha.u,cooVal1.limPI.trigger,$whenCondition2,cooVal1.TOutThr.y,cooVal1.uFanFeeThr.y,cooVal1.cha.u,cooVal3.limPI.trigger,$whenCondition3,cooVal3.TOutThr.y,cooVal3.uFanFeeThr.y,cooVal3.cha.u,cooVal.limPI.trigger,$whenCondition6,$whenCondition4,$whenCondition5,cooVal.TOutThr.y,cooVal.uFanFeeThr.y,cooVal.cha.u,uSupFan.y) * Number of discrete states: 12 (cooVal.uFanFeeThr.y,cooVal.TOutThr.y,cooVal.cha.u,cooVal3.uFanFeeThr.y,cooVal3.TOutThr.y,cooVal3.cha.u,cooVal1.uFanFeeThr.y,cooVal1.TOutThr.y,cooVal1.cha.u,cooVal2.uFanFeeThr.y,cooVal2.TOutThr.y,cooVal2.cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002009/1.276, allocations: 2.812 MB / 1.408 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001749/1.278, allocations: 1.34 MB / 1.409 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/1.278, allocations: 0 / 1.409 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003915/1.278, allocations: 313.8 kB / 1.41 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/1.279, allocations: 221.8 kB / 1.41 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/1.283, allocations: 1.881 MB / 1.412 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/1.284, allocations: 1.22 MB / 1.413 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001125/1.285, allocations: 237.2 kB / 1.413 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/1.285, allocations: 0.5711 MB / 1.414 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of SimCode: time 9.41e-07/1.285, allocations: 0 / 1.414 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05359/1.339, allocations: 23.6 MB / 1.437 GB, free: 5.941 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/1.339, allocations: 171 kB / 1.437 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/4.097, allocations: 4.031 kB / 1.437 GB, free: 5.746 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_BaseClasses_Validation_CoolingCoilValve.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Examples.BaseClasses.Validation.CoolingCoilValve_res.mat does not exist to compare? outputFormat=mat