Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.212/2.212, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001069/0.001069, allocations: 172.9 kB / 492.3 MB, free: 0.6016 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.361/1.361, allocations: 221.3 MB / 0.7872 GB, free: 12.88 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.0008536/0.0008533, allocations: 100.9 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.569e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9377/1.162, allocations: 374.3 MB / 1.578 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.162, allocations: 94.88 kB / 1.578 GB, free: 7.152 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02381/1.186, allocations: 9.589 MB / 1.587 GB, free: 15.3 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.625e-06/1.186, allocations: 4 kB / 1.587 GB, free: 15.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.492e-05/1.186, allocations: 5.531 kB / 1.587 GB, free: 15.29 MB / 1.01 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.0006353/1.187, allocations: 462.8 kB / 1.588 GB, free: 14.81 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/1.187, allocations: 12.03 kB / 1.588 GB, free: 14.8 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.225e-05/1.187, allocations: 34 kB / 1.588 GB, free: 14.76 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/1.187, allocations: 23.77 kB / 1.588 GB, free: 14.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/1.187, allocations: 238.9 kB / 1.588 GB, free: 14.47 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/1.187, allocations: 5.406 kB / 1.588 GB, free: 14.46 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/1.187, allocations: 11.3 kB / 1.588 GB, free: 14.46 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/1.188, allocations: 106.4 kB / 1.588 GB, free: 14.37 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/1.188, allocations: 4 kB / 1.588 GB, free: 14.36 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.188, allocations: 0 / 1.588 GB, free: 14.36 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/1.188, allocations: 11.38 kB / 1.588 GB, free: 14.36 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/1.188, allocations: 93.16 kB / 1.588 GB, free: 14.29 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/1.189, allocations: 449.8 kB / 1.589 GB, free: 13.86 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/1.189, allocations: 141.7 kB / 1.589 GB, free: 13.75 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/1.189, allocations: 75.83 kB / 1.589 GB, free: 13.7 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/1.189, allocations: 4 kB / 1.589 GB, free: 13.69 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.189, allocations: 41.89 kB / 1.589 GB, free: 13.64 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/1.189, allocations: 0 / 1.589 GB, free: 13.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0003526/1.189, allocations: 155.7 kB / 1.589 GB, free: 13.52 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.189, allocations: 51.41 kB / 1.589 GB, free: 13.45 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/1.19, allocations: 185.4 kB / 1.589 GB, free: 13.29 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/1.19, allocations: 29.14 kB / 1.59 GB, free: 13.26 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/1.19, allocations: 119.2 kB / 1.59 GB, free: 13.16 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/1.19, allocations: 45.8 kB / 1.59 GB, free: 13.12 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/1.19, allocations: 2.625 kB / 1.59 GB, free: 13.12 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.19, allocations: 326.1 kB / 1.59 GB, free: 12.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.749e-05/1.19, allocations: 50.03 kB / 1.59 GB, free: 12.77 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/1.19, allocations: 46.98 kB / 1.59 GB, free: 12.73 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/1.19, allocations: 58.84 kB / 1.59 GB, free: 12.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.19, allocations: 0 / 1.59 GB, free: 12.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002522/1.19, allocations: 162.7 kB / 1.59 GB, free: 12.56 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.19, allocations: 4 kB / 1.59 GB, free: 12.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/1.19, allocations: 3.953 kB / 1.59 GB, free: 12.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.19, allocations: 0 / 1.59 GB, free: 12.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/1.191, allocations: 43.95 kB / 1.59 GB, free: 12.51 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.191, allocations: 4 kB / 1.59 GB, free: 12.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/1.191, allocations: 23.86 kB / 1.59 GB, free: 12.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/1.191, allocations: 0 / 1.59 GB, free: 12.49 MB / 1.01 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 7.494e-05/1.191, allocations: 118.1 kB / 1.59 GB, free: 12.37 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/1.191, allocations: 19.75 kB / 1.59 GB, free: 12.35 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/1.191, allocations: 21.53 kB / 1.591 GB, free: 12.34 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/1.191, allocations: 11.95 kB / 1.591 GB, free: 12.33 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.191, allocations: 0 / 1.591 GB, free: 12.33 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.191, allocations: 3.984 kB / 1.591 GB, free: 12.32 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/1.191, allocations: 255.8 kB / 1.591 GB, free: 12.06 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.191, allocations: 0 / 1.591 GB, free: 12.06 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/1.192, allocations: 39.95 kB / 1.591 GB, free: 12.02 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.192, allocations: 0 / 1.591 GB, free: 12.02 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/1.192, allocations: 7.938 kB / 1.591 GB, free: 12.01 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.192, allocations: 4 kB / 1.591 GB, free: 12.01 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.192, allocations: 3.953 kB / 1.591 GB, free: 12 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/1.192, allocations: 264.9 kB / 1.591 GB, free: 11.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/1.192, allocations: 108.3 kB / 1.591 GB, free: 11.64 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/1.192, allocations: 4 kB / 1.591 GB, free: 11.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/1.192, allocations: 23.84 kB / 1.591 GB, free: 11.62 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/1.192, allocations: 15.94 kB / 1.591 GB, free: 11.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/1.192, allocations: 0 / 1.591 GB, free: 11.61 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001212/1.193, allocations: 156.7 kB / 1.591 GB, free: 11.48 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.51e-07/1.193, allocations: 0 / 1.591 GB, free: 11.48 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002756/1.193, allocations: 35.94 kB / 1.591 GB, free: 11.45 MB / 1.01 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.0007521/1.194, allocations: 0.8409 MB / 1.592 GB, free: 10.62 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002369/1.194, allocations: 124.6 kB / 1.592 GB, free: 10.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.194, allocations: 0 / 1.592 GB, free: 10.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/1.194, allocations: 63.23 kB / 1.592 GB, free: 10.49 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/1.194, allocations: 28.22 kB / 1.592 GB, free: 10.46 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/1.195, allocations: 289.2 kB / 1.593 GB, free: 10.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.195, allocations: 0.7315 MB / 1.593 GB, free: 9.426 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002194/1.195, allocations: 52.5 kB / 1.593 GB, free: 9.371 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/1.196, allocations: 53.66 kB / 1.594 GB, free: 9.348 MB / 1.01 GB Notification: Performance of SimCode: time 3.81e-07/1.196, allocations: 3.938 kB / 1.594 GB, free: 9.344 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/1.212, allocations: 4.443 MB / 1.598 GB, free: 5.086 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.212, allocations: 176 kB / 1.598 GB, free: 4.859 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.83, allocations: 3.938 kB / 1.598 GB, free: 4.855 MB / 1.01 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat does not exist to compare? outputFormat=mat