Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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.366/2.366, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001342/0.001342, allocations: 172.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.001284/0.001284, allocations: 95.94 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.185e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2462, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.268, allocations: 375 MB / 1.585 GB, free: 10.68 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/1.268, allocations: 83.39 kB / 1.585 GB, free: 10.64 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02512/1.293, allocations: 9.724 MB / 1.595 GB, free: 1.539 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.435e-06/1.293, allocations: 0 / 1.595 GB, free: 1.539 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.19e-05/1.293, allocations: 1.969 kB / 1.595 GB, free: 1.539 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007455/1.294, allocations: 474.7 kB / 1.595 GB, free: 1.031 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/1.294, allocations: 8.031 kB / 1.595 GB, free: 1.023 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.42e-05/1.294, allocations: 42.55 kB / 1.595 GB, free: 0.9727 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/1.294, allocations: 19.72 kB / 1.595 GB, free: 0.9531 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/1.295, allocations: 237.7 kB / 1.595 GB, free: 0.6797 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/1.295, allocations: 0 / 1.595 GB, free: 0.6797 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/1.295, allocations: 11.98 kB / 1.595 GB, free: 0.668 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/1.295, allocations: 119.1 kB / 1.596 GB, free: 0.5469 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.295, allocations: 3.984 kB / 1.596 GB, free: 0.543 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/1.295, allocations: 7.953 kB / 1.596 GB, free: 0.5352 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/1.295, allocations: 8 kB / 1.596 GB, free: 0.5273 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001868/1.295, allocations: 99.89 kB / 1.596 GB, free: 440 kB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/1.296, allocations: 460.5 kB / 1.596 GB, free: 15.93 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/1.296, allocations: 142.5 kB / 1.596 GB, free: 15.78 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/1.296, allocations: 81.45 kB / 1.596 GB, free: 15.7 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/1.296, allocations: 7.938 kB / 1.596 GB, free: 15.69 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/1.296, allocations: 34.56 kB / 1.596 GB, free: 15.64 MB / 1.057 GB Notification: Performance of pre-optimization done (n=13): time 1.973e-06/1.296, allocations: 0 / 1.596 GB, free: 15.64 MB / 1.057 GB Notification: Performance of matching and sorting (n=13): time 0.000383/1.297, allocations: 166.5 kB / 1.596 GB, free: 15.48 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/1.297, allocations: 51.41 kB / 1.597 GB, free: 15.41 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/1.297, allocations: 184.9 kB / 1.597 GB, free: 15.23 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/1.297, allocations: 29.7 kB / 1.597 GB, free: 15.19 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/1.297, allocations: 116.1 kB / 1.597 GB, free: 15.07 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/1.297, allocations: 47.27 kB / 1.597 GB, free: 15.03 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/1.297, allocations: 0 / 1.597 GB, free: 15.03 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.297, allocations: 338.8 kB / 1.597 GB, free: 14.69 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.866e-05/1.297, allocations: 48.23 kB / 1.597 GB, free: 14.64 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.246e-05/1.298, allocations: 60.66 kB / 1.597 GB, free: 14.59 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/1.298, allocations: 57.78 kB / 1.597 GB, free: 14.53 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.298, allocations: 0 / 1.597 GB, free: 14.53 MB / 1.057 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002745/1.298, allocations: 169.3 kB / 1.598 GB, free: 14.36 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.298, allocations: 7.984 kB / 1.598 GB, free: 14.35 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.298, allocations: 0 / 1.598 GB, free: 14.35 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/1.298, allocations: 4 kB / 1.598 GB, free: 14.35 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/1.298, allocations: 35.97 kB / 1.598 GB, free: 14.31 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.298, allocations: 4 kB / 1.598 GB, free: 14.31 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/1.298, allocations: 23.92 kB / 1.598 GB, free: 14.29 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/1.298, allocations: 7.969 kB / 1.598 GB, free: 14.28 MB / 1.057 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.103e-05/1.299, allocations: 116.9 kB / 1.598 GB, free: 14.16 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/1.299, allocations: 27.61 kB / 1.598 GB, free: 14.13 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/1.299, allocations: 25.95 kB / 1.598 GB, free: 14.1 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/1.299, allocations: 4 kB / 1.598 GB, free: 14.1 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.299, allocations: 0 / 1.598 GB, free: 14.1 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.299, allocations: 0 / 1.598 GB, free: 14.1 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002888/1.299, allocations: 265.5 kB / 1.598 GB, free: 13.79 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.299, allocations: 0 / 1.598 GB, free: 13.79 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/1.299, allocations: 43.95 kB / 1.598 GB, free: 13.75 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.299, allocations: 0 / 1.598 GB, free: 13.75 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.299, allocations: 7.953 kB / 1.598 GB, free: 13.74 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/1.299, allocations: 0 / 1.598 GB, free: 13.74 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.299, allocations: 0 / 1.598 GB, free: 13.74 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/1.3, allocations: 274.7 kB / 1.598 GB, free: 13.46 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/1.3, allocations: 112.8 kB / 1.598 GB, free: 13.33 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/1.3, allocations: 4 kB / 1.598 GB, free: 13.32 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.3, allocations: 23.94 kB / 1.598 GB, free: 13.3 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.288e-05/1.3, allocations: 11.98 kB / 1.598 GB, free: 13.29 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/1.3, allocations: 4 kB / 1.598 GB, free: 13.29 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001336/1.3, allocations: 153.4 kB / 1.599 GB, free: 13.14 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.3e-07/1.3, allocations: 0 / 1.599 GB, free: 13.14 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000281/1.301, allocations: 40 kB / 1.599 GB, free: 13.1 MB / 1.057 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0007311/1.301, allocations: 0.8576 MB / 1.6 GB, free: 12.21 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002618/1.302, allocations: 135.3 kB / 1.6 GB, free: 12.09 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.302, allocations: 4 kB / 1.6 GB, free: 12.08 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/1.302, allocations: 67.97 kB / 1.6 GB, free: 12.02 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/1.302, allocations: 25.69 kB / 1.6 GB, free: 11.99 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/1.303, allocations: 311.3 kB / 1.6 GB, free: 11.65 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/1.303, allocations: 0.7316 MB / 1.601 GB, free: 10.89 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001899/1.303, allocations: 48.72 kB / 1.601 GB, free: 10.84 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/1.303, allocations: 55.41 kB / 1.601 GB, free: 10.79 MB / 1.057 GB Notification: Performance of SimCode: time 5.1e-07/1.303, allocations: 0 / 1.601 GB, free: 10.79 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/1.321, allocations: 4.584 MB / 1.605 GB, free: 6.391 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/1.321, allocations: 178.4 kB / 1.605 GB, free: 6.164 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.971, allocations: 0 / 1.605 GB, free: 6.164 MB / 1.057 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat does not exist to compare? outputFormat=mat