Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",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.0009408/0.0009405, allocations: 100 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.0009492/0.0009491, allocations: 177.3 kB / 15.95 MB, free: 216 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.38/1.38, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.384/2.384, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7399, allocations: 142.3 MB / 0.9536 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.002967/0.7429, allocations: 2.437 MB / 0.956 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1559/0.8989, allocations: 129.5 MB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004285/0.8994, allocations: 3.938 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.8997, allocations: 63.52 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0008633/0.9005, allocations: 275.2 kB / 1.083 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.9026, allocations: 0.8043 MB / 1.084 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.9034, allocations: 480.1 kB / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.9036, allocations: 77.8 kB / 1.084 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.9039, allocations: 279.2 kB / 1.084 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.9043, allocations: 299 kB / 1.085 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.096e-05/0.9044, allocations: 35.94 kB / 1.085 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.9059, allocations: 0.593 MB / 1.085 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.9061, allocations: 119.6 kB / 1.085 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.9062, allocations: 109.5 kB / 1.085 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008016/0.907, allocations: 0.6507 MB / 1.086 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.907, allocations: 4 kB / 1.086 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.565e-06/0.907, allocations: 0 / 1.086 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.907, allocations: 0 / 1.086 GB, free: 8.172 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00243/0.9095, allocations: 0.9783 MB / 1.087 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.9095, allocations: 12.03 kB / 1.087 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.717e-05/0.9096, allocations: 58.55 kB / 1.087 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002416/0.912, allocations: 259.2 kB / 1.087 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006595/0.9127, allocations: 393 kB / 1.088 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.9128, allocations: 99.78 kB / 1.088 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.9129, allocations: 36 kB / 1.088 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008006/0.9138, allocations: 384.2 kB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9138, allocations: 0 / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.9138, allocations: 12 kB / 1.088 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.9138, allocations: 4 kB / 1.088 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/0.9146, allocations: 277.5 kB / 1.089 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004356/0.9189, allocations: 1.708 MB / 1.09 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.9197, allocations: 274.6 kB / 1.09 GB, free: 3.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.9198, allocations: 8 kB / 1.09 GB, free: 3.492 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007084/0.9205, allocations: 308.7 kB / 1.091 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 2.094e-06/0.9205, allocations: 0 / 1.091 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.007921/0.9284, allocations: 1.561 MB / 1.092 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.9285, allocations: 97 kB / 1.092 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.9291, allocations: 453.6 kB / 1.093 GB, free: 0.9961 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.9292, allocations: 41.69 kB / 1.093 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.9294, allocations: 204.8 kB / 1.093 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.9295, allocations: 90.73 kB / 1.093 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.9296, allocations: 12 kB / 1.093 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.9297, allocations: 354.8 kB / 1.093 GB, free: 296 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/0.9304, allocations: 289.1 kB / 1.094 GB, free: 4 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008637/0.9313, allocations: 429.8 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007994/0.9321, allocations: 342.5 kB / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9321, allocations: 0 / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00698/0.9391, allocations: 1.627 MB / 1.096 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.9392, allocations: 67.53 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.9392, allocations: 0 / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.941, allocations: 407 kB / 1.097 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.9416, allocations: 95.86 kB / 1.097 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.947, allocations: 4.487 MB / 1.101 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.9481, allocations: 107.2 kB / 1.101 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.187e-05/0.9482, allocations: 35.97 kB / 1.101 GB, free: 8.016 MB / 0.8575 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003182/0.9486, allocations: 175 kB / 1.101 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.9486, allocations: 43.44 kB / 1.101 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.599e-05/0.9487, allocations: 39.58 kB / 1.101 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.9487, allocations: 7.953 kB / 1.101 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.9487, allocations: 0 / 1.101 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.9487, allocations: 3.984 kB / 1.101 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.9493, allocations: 485.1 kB / 1.102 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.9493, allocations: 0 / 1.102 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.9494, allocations: 31.91 kB / 1.102 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005909/0.95, allocations: 233.5 kB / 1.102 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.9501, allocations: 11.98 kB / 1.102 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.9518, allocations: 1.496 MB / 1.104 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.9519, allocations: 3.938 kB / 1.104 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/0.9579, allocations: 1.364 MB / 1.105 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.9583, allocations: 164.5 kB / 1.105 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.9583, allocations: 4 kB / 1.105 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.9588, allocations: 43.95 kB / 1.105 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.959, allocations: 43.92 kB / 1.105 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.959, allocations: 15.98 kB / 1.105 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003733/0.9594, allocations: 299.1 kB / 1.105 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9594, allocations: 0 / 1.105 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00077/0.9602, allocations: 159.9 kB / 1.106 GB, free: 3.27 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00341/0.9636, allocations: 1.574 MB / 1.107 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003217/0.9668, allocations: 1.064 MB / 1.108 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.9668, allocations: 0 / 1.108 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.9683, allocations: 329.5 kB / 1.108 GB, free: 212 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006793/0.969, allocations: 95.91 kB / 1.109 GB, free: 120 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.972, allocations: 2.496 MB / 1.111 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.9725, allocations: 0.8191 MB / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003764/0.9729, allocations: 51.39 kB / 1.112 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.9731, allocations: 147.3 kB / 1.112 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of SimCode: time 1.002e-06/0.9731, allocations: 0 / 1.112 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/1.006, allocations: 14.96 MB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/1.006, allocations: 238 kB / 1.127 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.244, allocations: 0 / 1.127 GB, free: 13.64 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat does not exist to compare? outputFormat=mat