Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.162/2.162, allocations: 390.5 MB / 398 MB, free: 10.95 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.001057/0.001056, allocations: 180.9 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.351/1.351, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.00105/0.00105, allocations: 95.83 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.327e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2382, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9751/1.213, allocations: 374.8 MB / 1.578 GB, free: 6.891 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.214, allocations: 92.48 kB / 1.578 GB, free: 6.84 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02837/1.242, allocations: 10.93 MB / 1.589 GB, free: 13.95 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.252e-06/1.242, allocations: 4 kB / 1.589 GB, free: 13.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.251e-05/1.242, allocations: 0 / 1.589 GB, free: 13.95 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009959/1.243, allocations: 0.5787 MB / 1.59 GB, free: 13.34 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.243, allocations: 16.02 kB / 1.59 GB, free: 13.32 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.301e-05/1.243, allocations: 23.72 kB / 1.59 GB, free: 13.3 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/1.244, allocations: 269 kB / 1.59 GB, free: 13 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.244, allocations: 4 kB / 1.59 GB, free: 13 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/1.244, allocations: 7.938 kB / 1.59 GB, free: 12.99 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002109/1.244, allocations: 99.73 kB / 1.59 GB, free: 12.93 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/1.244, allocations: 119.5 kB / 1.59 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/1.244, allocations: 0 / 1.59 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/1.244, allocations: 0 / 1.59 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/1.244, allocations: 3.984 kB / 1.59 GB, free: 12.82 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008296/1.245, allocations: 459.1 kB / 1.591 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/1.245, allocations: 73.75 kB / 1.591 GB, free: 12.34 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.5e-05/1.245, allocations: 57.41 kB / 1.591 GB, free: 12.3 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006641/1.246, allocations: 0.5174 MB / 1.591 GB, free: 11.68 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/1.246, allocations: 30.56 kB / 1.591 GB, free: 11.64 MB / 1.01 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/1.246, allocations: 0 / 1.591 GB, free: 11.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=11): time 0.05188/1.298, allocations: 3.747 MB / 1.595 GB, free: 7.996 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/1.298, allocations: 51.41 kB / 1.595 GB, free: 7.934 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/1.298, allocations: 189.7 kB / 1.595 GB, free: 7.773 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/1.298, allocations: 25.7 kB / 1.595 GB, free: 7.742 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/1.298, allocations: 140.6 kB / 1.595 GB, free: 7.637 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/1.298, allocations: 35.14 kB / 1.595 GB, free: 7.605 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/1.298, allocations: 0 / 1.595 GB, free: 7.605 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.299, allocations: 337.5 kB / 1.596 GB, free: 7.277 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/1.299, allocations: 47.98 kB / 1.596 GB, free: 7.246 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/1.299, allocations: 43.67 kB / 1.596 GB, free: 7.223 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05051/1.349, allocations: 3.625 MB / 1.599 GB, free: 3.691 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/1.349, allocations: 0 / 1.599 GB, free: 3.691 MB / 1.01 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.05126/1.401, allocations: 3.741 MB / 1.603 GB, free: 60 kB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/1.401, allocations: 8 kB / 1.603 GB, free: 52 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/1.401, allocations: 0 / 1.603 GB, free: 52 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.401, allocations: 0 / 1.603 GB, free: 52 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/1.401, allocations: 63.92 kB / 1.603 GB, free: 15.98 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.401, allocations: 3.953 kB / 1.603 GB, free: 15.98 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/1.401, allocations: 43.78 kB / 1.603 GB, free: 15.94 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/1.401, allocations: 7.984 kB / 1.603 GB, free: 15.93 MB / 1.026 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 (11): * Single equations (assignments): 11 * 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.183e-05/1.402, allocations: 105 kB / 1.603 GB, free: 15.82 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05123/1.453, allocations: 3.729 MB / 1.607 GB, free: 12.2 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/1.453, allocations: 23.66 kB / 1.607 GB, free: 12.18 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05129/1.504, allocations: 3.763 MB / 1.611 GB, free: 8.539 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.504, allocations: 3.953 kB / 1.611 GB, free: 8.535 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/1.504, allocations: 0 / 1.611 GB, free: 8.535 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.504, allocations: 0 / 1.611 GB, free: 8.535 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/1.505, allocations: 240.9 kB / 1.611 GB, free: 8.293 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.505, allocations: 0 / 1.611 GB, free: 8.293 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/1.505, allocations: 62.94 kB / 1.611 GB, free: 8.234 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.505, allocations: 0 / 1.611 GB, free: 8.234 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/1.505, allocations: 7.984 kB / 1.611 GB, free: 8.227 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.505, allocations: 3.938 kB / 1.611 GB, free: 8.223 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.505, allocations: 0 / 1.611 GB, free: 8.223 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0507/1.556, allocations: 3.835 MB / 1.615 GB, free: 4.488 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.556, allocations: 111.7 kB / 1.615 GB, free: 4.367 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/1.556, allocations: 4 kB / 1.615 GB, free: 4.363 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/1.556, allocations: 35.97 kB / 1.615 GB, free: 4.328 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/1.556, allocations: 15.91 kB / 1.615 GB, free: 4.316 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/1.556, allocations: 4 kB / 1.615 GB, free: 4.312 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001363/1.556, allocations: 159.1 kB / 1.615 GB, free: 4.18 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.4e-07/1.556, allocations: 0 / 1.615 GB, free: 4.18 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003557/1.557, allocations: 71.73 kB / 1.615 GB, free: 4.113 MB / 1.026 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 (11): * Single equations (assignments): 11 * 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.05057/1.607, allocations: 4.45 MB / 1.619 GB, free: 15.75 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002639/1.608, allocations: 115.5 kB / 1.619 GB, free: 15.68 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.608, allocations: 0 / 1.619 GB, free: 15.68 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/1.608, allocations: 73.5 kB / 1.62 GB, free: 15.63 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/1.608, allocations: 16.98 kB / 1.62 GB, free: 15.62 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/1.609, allocations: 312.3 kB / 1.62 GB, free: 15.31 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/1.609, allocations: 0.7423 MB / 1.621 GB, free: 14.54 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001901/1.61, allocations: 36.83 kB / 1.621 GB, free: 14.5 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/1.61, allocations: 63.84 kB / 1.621 GB, free: 14.48 MB / 1.042 GB Notification: Performance of SimCode: time 1.854e-06/1.61, allocations: 4 kB / 1.621 GB, free: 14.48 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/1.633, allocations: 4.365 MB / 1.625 GB, free: 10.14 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.633, allocations: 176.2 kB / 1.625 GB, free: 9.945 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/3.364, allocations: 1.719 kB / 1.625 GB, free: 9.945 MB / 1.042 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat does not exist to compare? outputFormat=mat