Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 390.5 MB / 398 MB, free: 10.97 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.001304/0.001304, allocations: 184.6 kB / 491.2 MB, free: 1.59 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.611/1.611, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008658/0.0008658, allocations: 90.66 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.407e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3199, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.393, allocations: 151.8 MB / 1.361 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/1.394, allocations: 84.45 kB / 1.361 GB, free: 17.33 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0211/1.415, allocations: 7.608 MB / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.683e-06/1.415, allocations: 0 / 1.368 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.006e-05/1.415, allocations: 7.75 kB / 1.368 GB, free: 32.52 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009099/1.416, allocations: 0.5635 MB / 1.369 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.416, allocations: 7.406 kB / 1.369 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/1.416, allocations: 34.2 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/1.416, allocations: 286.7 kB / 1.369 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.416, allocations: 7.688 kB / 1.369 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/1.416, allocations: 11.53 kB / 1.369 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001907/1.417, allocations: 98.22 kB / 1.369 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/1.417, allocations: 157.8 kB / 1.369 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/1.417, allocations: 6.797 kB / 1.369 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/1.417, allocations: 3.938 kB / 1.369 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/1.417, allocations: 3.844 kB / 1.369 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/1.418, allocations: 0.9297 MB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/1.419, allocations: 176.2 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.413e-05/1.419, allocations: 60.52 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/1.419, allocations: 4 kB / 1.37 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/1.419, allocations: 37.11 kB / 1.37 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/1.419, allocations: 0 / 1.37 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003995/1.419, allocations: 148 kB / 1.371 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/1.419, allocations: 77.11 kB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/1.419, allocations: 217.5 kB / 1.371 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/1.419, allocations: 25.7 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/1.419, allocations: 161.8 kB / 1.371 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/1.419, allocations: 59.41 kB / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/1.419, allocations: 0 / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.42, allocations: 337.5 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/1.42, allocations: 42.47 kB / 1.371 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.406e-05/1.42, allocations: 88.91 kB / 1.372 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/1.42, allocations: 53.28 kB / 1.372 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.42, allocations: 3.953 kB / 1.372 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003199/1.42, allocations: 179.5 kB / 1.372 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.42, allocations: 7.75 kB / 1.372 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/1.42, allocations: 4.156 kB / 1.372 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/1.42, allocations: 3.969 kB / 1.372 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/1.421, allocations: 76.98 kB / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/1.421, allocations: 0 / 1.372 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002363/1.421, allocations: 47.5 kB / 1.372 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/1.421, allocations: 14.61 kB / 1.372 GB, free: 30.06 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.528e-05/1.421, allocations: 106.1 kB / 1.372 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002968/1.421, allocations: 146 kB / 1.372 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/1.421, allocations: 26.44 kB / 1.372 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/1.422, allocations: 188.9 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.422, allocations: 0 / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.422, allocations: 3.906 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.422, allocations: 3.141 kB / 1.372 GB, free: 29.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/1.422, allocations: 267.5 kB / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/1.422, allocations: 0 / 1.373 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/1.422, allocations: 66.77 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.422, allocations: 3.875 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/1.422, allocations: 3.938 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/1.422, allocations: 2.766 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.422, allocations: 3.938 kB / 1.373 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/1.423, allocations: 341.7 kB / 1.373 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/1.423, allocations: 107.6 kB / 1.373 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/1.423, allocations: 0 / 1.373 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/1.423, allocations: 31.88 kB / 1.373 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/1.423, allocations: 23.72 kB / 1.373 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/1.423, allocations: 6.781 kB / 1.373 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001261/1.423, allocations: 169.3 kB / 1.373 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.423, allocations: 0 / 1.373 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003434/1.424, allocations: 61.14 kB / 1.373 GB, free: 29.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0007516/1.424, allocations: 0.9617 MB / 1.374 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002278/1.425, allocations: 122.5 kB / 1.374 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.425, allocations: 0 / 1.374 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/1.425, allocations: 66.47 kB / 1.375 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/1.425, allocations: 65.44 kB / 1.375 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007404/1.426, allocations: 346.1 kB / 1.375 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/1.426, allocations: 0.7558 MB / 1.376 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001453/1.426, allocations: 31.55 kB / 1.376 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/1.427, allocations: 79.61 kB / 1.376 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.427, allocations: 0 / 1.376 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/1.452, allocations: 5.254 MB / 1.381 GB, free: 27.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/1.452, allocations: 154.1 kB / 1.381 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.749, allocations: 3.938 kB / 1.381 GB, free: 26.94 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat does not exist to compare? outputFormat=mat