Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.218/2.218, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.0009794/0.0009794, 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.495/1.495, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.001031/0.001031, allocations: 79.97 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.893e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2548, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9674/1.222, allocations: 376.1 MB / 1.586 GB, free: 9.668 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/1.223, allocations: 87 kB / 1.586 GB, free: 9.621 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.0312/1.254, allocations: 11.83 MB / 1.598 GB, free: 14.38 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.503e-06/1.254, allocations: 0 / 1.598 GB, free: 14.38 MB / 1.057 GB Notification: Performance of Transformations before backend: time 1.61e-05/1.254, allocations: 4 kB / 1.598 GB, free: 14.38 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001099/1.255, allocations: 0.6073 MB / 1.598 GB, free: 13.72 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.255, allocations: 8.031 kB / 1.598 GB, free: 13.71 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/1.255, allocations: 42.55 kB / 1.598 GB, free: 13.66 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007527/1.256, allocations: 139.4 kB / 1.599 GB, free: 13.52 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/1.257, allocations: 336.2 kB / 1.599 GB, free: 13.15 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/1.257, allocations: 8.188 kB / 1.599 GB, free: 13.14 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/1.257, allocations: 12 kB / 1.599 GB, free: 13.13 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/1.257, allocations: 156.2 kB / 1.599 GB, free: 12.98 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/1.257, allocations: 0 / 1.599 GB, free: 12.98 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/1.257, allocations: 3.953 kB / 1.599 GB, free: 12.97 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/1.257, allocations: 4 kB / 1.599 GB, free: 12.97 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/1.258, allocations: 144.5 kB / 1.599 GB, free: 12.83 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/1.259, allocations: 0.5948 MB / 1.6 GB, free: 12.18 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/1.259, allocations: 106.5 kB / 1.6 GB, free: 12.07 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/1.259, allocations: 84.84 kB / 1.6 GB, free: 11.98 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/1.26, allocations: 0.5064 MB / 1.6 GB, free: 11.37 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/1.26, allocations: 30.56 kB / 1.6 GB, free: 11.33 MB / 1.057 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/1.26, allocations: 0 / 1.6 GB, free: 11.33 MB / 1.057 GB Notification: Performance of matching and sorting (n=13): time 0.0004668/1.26, allocations: 214.1 kB / 1.601 GB, free: 11.11 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/1.26, allocations: 51.41 kB / 1.601 GB, free: 11.05 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/1.261, allocations: 234.7 kB / 1.601 GB, free: 10.82 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/1.261, allocations: 25.7 kB / 1.601 GB, free: 10.79 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.261, allocations: 155.9 kB / 1.601 GB, free: 10.63 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/1.261, allocations: 47.3 kB / 1.601 GB, free: 10.58 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/1.261, allocations: 7.938 kB / 1.601 GB, free: 10.57 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.261, allocations: 330.8 kB / 1.601 GB, free: 10.24 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/1.261, allocations: 75.98 kB / 1.602 GB, free: 10.17 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/1.261, allocations: 79.98 kB / 1.602 GB, free: 10.09 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/1.261, allocations: 73.53 kB / 1.602 GB, free: 10.02 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.261, allocations: 0 / 1.602 GB, free: 10.02 MB / 1.057 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004011/1.262, allocations: 238.8 kB / 1.602 GB, free: 9.781 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.262, allocations: 4 kB / 1.602 GB, free: 9.777 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.262, allocations: 3.984 kB / 1.602 GB, free: 9.773 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.262, allocations: 4 kB / 1.602 GB, free: 9.77 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004713/1.262, allocations: 91.84 kB / 1.602 GB, free: 9.68 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.262, allocations: 0 / 1.602 GB, free: 9.68 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/1.263, allocations: 59.8 kB / 1.602 GB, free: 9.621 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/1.263, allocations: 11.94 kB / 1.602 GB, free: 9.609 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 (17): * Single equations (assignments): 17 * 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 9.914e-05/1.263, allocations: 105 kB / 1.602 GB, free: 9.5 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/1.263, allocations: 31.62 kB / 1.602 GB, free: 9.469 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/1.264, allocations: 241.8 kB / 1.602 GB, free: 9.223 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/1.264, allocations: 0 / 1.602 GB, free: 9.223 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/1.264, allocations: 0 / 1.602 GB, free: 9.223 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/1.264, allocations: 0 / 1.602 GB, free: 9.223 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003354/1.264, allocations: 309.4 kB / 1.603 GB, free: 8.871 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.264, allocations: 0 / 1.603 GB, free: 8.871 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/1.264, allocations: 75.92 kB / 1.603 GB, free: 8.797 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/1.264, allocations: 0 / 1.603 GB, free: 8.797 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/1.264, allocations: 11.98 kB / 1.603 GB, free: 8.785 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.264, allocations: 0 / 1.603 GB, free: 8.785 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.264, allocations: 0 / 1.603 GB, free: 8.785 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000491/1.265, allocations: 315 kB / 1.603 GB, free: 8.461 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/1.265, allocations: 116.7 kB / 1.603 GB, free: 8.328 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/1.265, allocations: 4 kB / 1.603 GB, free: 8.324 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/1.265, allocations: 55.94 kB / 1.603 GB, free: 8.27 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/1.266, allocations: 19.97 kB / 1.603 GB, free: 8.25 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/1.266, allocations: 0 / 1.603 GB, free: 8.25 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001821/1.266, allocations: 190.1 kB / 1.604 GB, free: 8.066 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.41e-07/1.266, allocations: 0 / 1.604 GB, free: 8.066 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0003923/1.266, allocations: 79.94 kB / 1.604 GB, free: 7.988 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.0009941/1.267, allocations: 0.9307 MB / 1.604 GB, free: 7.039 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0003927/1.268, allocations: 187.9 kB / 1.605 GB, free: 6.855 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.268, allocations: 7.938 kB / 1.605 GB, free: 6.848 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/1.268, allocations: 87.97 kB / 1.605 GB, free: 6.762 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/1.268, allocations: 37.28 kB / 1.605 GB, free: 6.723 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008811/1.269, allocations: 372 kB / 1.605 GB, free: 6.324 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/1.269, allocations: 0.7594 MB / 1.606 GB, free: 5.539 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0002562/1.27, allocations: 41.19 kB / 1.606 GB, free: 5.5 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/1.27, allocations: 75.39 kB / 1.606 GB, free: 5.426 MB / 1.057 GB Notification: Performance of SimCode: time 6.11e-07/1.27, allocations: 0 / 1.606 GB, free: 5.426 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/1.289, allocations: 6.252 MB / 1.612 GB, free: 15.37 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/1.289, allocations: 174.5 kB / 1.612 GB, free: 15.14 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.931/3.22, allocations: 0 / 1.612 GB, free: 15.14 MB / 1.073 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat does not exist to compare? outputFormat=mat