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.261/2.261, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001511/0.001512, allocations: 172.9 kB / 496.1 MB, free: 12.88 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.576/1.576, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009486/0.0009483, allocations: 88.02 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.684e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2372, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.323, allocations: 375.5 MB / 1.585 GB, free: 10.24 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.324, allocations: 83.45 kB / 1.586 GB, free: 10.2 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02862/1.352, allocations: 11.03 MB / 1.596 GB, free: 15.87 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.372e-06/1.352, allocations: 0 / 1.596 GB, free: 15.87 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.615e-05/1.352, allocations: 8 kB / 1.596 GB, free: 15.86 MB / 1.057 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.001046/1.353, allocations: 0.561 MB / 1.597 GB, free: 15.25 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.353, allocations: 16.03 kB / 1.597 GB, free: 15.24 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.251e-05/1.353, allocations: 39.44 kB / 1.597 GB, free: 15.19 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/1.354, allocations: 19.72 kB / 1.597 GB, free: 15.17 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006025/1.354, allocations: 282.5 kB / 1.597 GB, free: 14.85 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/1.354, allocations: 8 kB / 1.597 GB, free: 14.84 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/1.354, allocations: 4 kB / 1.597 GB, free: 14.84 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/1.354, allocations: 126.4 kB / 1.597 GB, free: 14.71 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.354, allocations: 3.938 kB / 1.597 GB, free: 14.71 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/1.354, allocations: 8 kB / 1.597 GB, free: 14.7 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/1.354, allocations: 0 / 1.597 GB, free: 14.7 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/1.355, allocations: 104.9 kB / 1.597 GB, free: 14.6 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008662/1.356, allocations: 480.7 kB / 1.598 GB, free: 14.08 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/1.356, allocations: 86.45 kB / 1.598 GB, free: 13.98 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/1.356, allocations: 64.84 kB / 1.598 GB, free: 13.92 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006963/1.357, allocations: 0.5103 MB / 1.599 GB, free: 13.3 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/1.357, allocations: 30.56 kB / 1.599 GB, free: 13.26 MB / 1.057 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/1.357, allocations: 0 / 1.599 GB, free: 13.26 MB / 1.057 GB Notification: Performance of matching and sorting (n=11): time 0.0003886/1.357, allocations: 165.5 kB / 1.599 GB, free: 13.09 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/1.357, allocations: 55.41 kB / 1.599 GB, free: 13.02 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/1.357, allocations: 203.2 kB / 1.599 GB, free: 12.82 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/1.357, allocations: 29.7 kB / 1.599 GB, free: 12.79 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/1.357, allocations: 140 kB / 1.599 GB, free: 12.64 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/1.357, allocations: 35.41 kB / 1.599 GB, free: 12.61 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/1.358, allocations: 4 kB / 1.599 GB, free: 12.61 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.358, allocations: 334.8 kB / 1.6 GB, free: 12.27 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/1.358, allocations: 43.98 kB / 1.6 GB, free: 12.23 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.098e-05/1.358, allocations: 47.98 kB / 1.6 GB, free: 12.18 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001041/1.358, allocations: 55.97 kB / 1.6 GB, free: 12.12 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.358, allocations: 0 / 1.6 GB, free: 12.12 MB / 1.057 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000287/1.358, allocations: 165.3 kB / 1.6 GB, free: 11.96 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/1.358, allocations: 5.406 kB / 1.6 GB, free: 11.95 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.358, allocations: 0 / 1.6 GB, free: 11.95 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.358, allocations: 0 / 1.6 GB, free: 11.95 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/1.359, allocations: 63.88 kB / 1.6 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/1.359, allocations: 0 / 1.6 GB, free: 11.89 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/1.359, allocations: 39.89 kB / 1.6 GB, free: 11.85 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/1.359, allocations: 8 kB / 1.6 GB, free: 11.84 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 (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.484e-05/1.359, allocations: 105 kB / 1.6 GB, free: 11.73 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/1.359, allocations: 27.67 kB / 1.6 GB, free: 11.71 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/1.36, allocations: 187.3 kB / 1.6 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/1.36, allocations: 4 kB / 1.6 GB, free: 11.52 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.36, allocations: 3.938 kB / 1.6 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.36, allocations: 0 / 1.6 GB, free: 11.51 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/1.36, allocations: 281.4 kB / 1.601 GB, free: 11.19 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/1.36, allocations: 0 / 1.601 GB, free: 11.19 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/1.36, allocations: 55.95 kB / 1.601 GB, free: 11.13 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.36, allocations: 3.984 kB / 1.601 GB, free: 11.13 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/1.36, allocations: 3.953 kB / 1.601 GB, free: 11.12 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/1.36, allocations: 4 kB / 1.601 GB, free: 11.12 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/1.36, allocations: 0 / 1.601 GB, free: 11.12 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/1.361, allocations: 259.8 kB / 1.601 GB, free: 10.85 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/1.361, allocations: 116.8 kB / 1.601 GB, free: 10.72 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/1.361, allocations: 7.875 kB / 1.601 GB, free: 10.71 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/1.361, allocations: 43.91 kB / 1.601 GB, free: 10.67 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/1.361, allocations: 11.98 kB / 1.601 GB, free: 10.66 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/1.361, allocations: 7.984 kB / 1.601 GB, free: 10.65 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001463/1.361, allocations: 163.1 kB / 1.601 GB, free: 10.49 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.4e-07/1.361, allocations: 0 / 1.601 GB, free: 10.49 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.000336/1.362, allocations: 79.78 kB / 1.601 GB, free: 10.41 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 (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.0008676/1.363, allocations: 0.8721 MB / 1.602 GB, free: 9.516 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002775/1.363, allocations: 119.9 kB / 1.602 GB, free: 9.398 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.363, allocations: 0 / 1.602 GB, free: 9.398 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/1.363, allocations: 71.92 kB / 1.602 GB, free: 9.328 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/1.363, allocations: 29.25 kB / 1.602 GB, free: 9.301 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/1.364, allocations: 321.2 kB / 1.603 GB, free: 8.949 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/1.364, allocations: 0.7394 MB / 1.603 GB, free: 8.184 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001825/1.365, allocations: 36.83 kB / 1.603 GB, free: 8.145 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/1.365, allocations: 67.41 kB / 1.603 GB, free: 8.078 MB / 1.057 GB Notification: Performance of SimCode: time 5.31e-07/1.365, allocations: 0 / 1.603 GB, free: 8.078 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/1.383, allocations: 5.446 MB / 1.609 GB, free: 2.82 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/1.384, allocations: 179.4 kB / 1.609 GB, free: 2.594 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/3.185, allocations: 2.25 kB / 1.609 GB, free: 2.594 MB / 1.057 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