Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 91.69 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003815, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7258, allocations: 142.3 MB / 0.9538 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001839/0.7277, allocations: 1.67 MB / 0.9555 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.7312, allocations: 3.446 MB / 0.9588 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.7313, allocations: 2.125 kB / 0.9588 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.7316, allocations: 43.81 kB / 0.9589 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.7319, allocations: 104.9 kB / 0.959 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.7322, allocations: 95.75 kB / 0.9591 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.7324, allocations: 221.4 kB / 0.9593 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.7325, allocations: 40.25 kB / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.7327, allocations: 93.39 kB / 0.9594 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.7329, allocations: 98.5 kB / 0.9595 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.7329, allocations: 7.75 kB / 0.9595 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.7331, allocations: 107.6 kB / 0.9596 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.7332, allocations: 42.97 kB / 0.9597 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.7333, allocations: 55.92 kB / 0.9597 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.7335, allocations: 184 kB / 0.9599 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7335, allocations: 0 / 0.9599 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.816e-06/0.7335, allocations: 0 / 0.9599 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.7335, allocations: 3.938 kB / 0.9599 GB, free: 3.254 MB / 0.7169 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.0009962/0.7345, allocations: 0.5762 MB / 0.9605 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.7346, allocations: 8.25 kB / 0.9605 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.7346, allocations: 41.3 kB / 0.9605 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.7347, allocations: 24.09 kB / 0.9605 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.7351, allocations: 268.9 kB / 0.9608 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.7351, allocations: 6.703 kB / 0.9608 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.7351, allocations: 9.5 kB / 0.9608 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000452/0.7356, allocations: 189.3 kB / 0.961 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7356, allocations: 0 / 0.961 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.7356, allocations: 1.125 kB / 0.961 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.7356, allocations: 2.312 kB / 0.961 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.7363, allocations: 243.1 kB / 0.9612 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008304/0.7371, allocations: 0.4886 MB / 0.9617 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.7375, allocations: 148 kB / 0.9618 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.7379, allocations: 131.6 kB / 0.962 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/0.7386, allocations: 0.5748 MB / 0.9625 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.7387, allocations: 35.61 kB / 0.9626 GB, free: 1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.7387, allocations: 0 / 0.9626 GB, free: 1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001184/0.7399, allocations: 413.5 kB / 0.9629 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.7399, allocations: 61.38 kB / 0.963 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.7401, allocations: 233 kB / 0.9632 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.7401, allocations: 30.95 kB / 0.9633 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.7402, allocations: 134.1 kB / 0.9634 GB, free: 428 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.7403, allocations: 35.17 kB / 0.9634 GB, free: 396 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.7403, allocations: 1.312 kB / 0.9634 GB, free: 396 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.7404, allocations: 335.7 kB / 0.9637 GB, free: 56 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.7407, allocations: 118.2 kB / 0.9639 GB, free: 8 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.7411, allocations: 122.7 kB / 0.964 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.7415, allocations: 119.1 kB / 0.9641 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7415, allocations: 0 / 0.9641 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007461/0.7422, allocations: 298.5 kB / 0.9644 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.7422, allocations: 5.562 kB / 0.9644 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7423, allocations: 0 / 0.9644 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.7423, allocations: 3.938 kB / 0.9644 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.7426, allocations: 65.03 kB / 0.9644 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.7426, allocations: 0 / 0.9644 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.7428, allocations: 34.34 kB / 0.9645 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.7428, allocations: 8.078 kB / 0.9645 GB, free: 15.73 MB / 0.7325 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 () * Number of clocked 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 0.0001361/0.743, allocations: 133.6 kB / 0.9646 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.98e-05/0.743, allocations: 21.66 kB / 0.9646 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008719/0.7439, allocations: 320.6 kB / 0.9649 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7439, allocations: 1.375 kB / 0.9649 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7439, allocations: 1.188 kB / 0.9649 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7439, allocations: 0 / 0.9649 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.7443, allocations: 277.2 kB / 0.9652 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.7443, allocations: 5.047 kB / 0.9652 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.7446, allocations: 61.69 kB / 0.9653 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.7446, allocations: 8.984 kB / 0.9653 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.7446, allocations: 1.312 kB / 0.9653 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7446, allocations: 1.25 kB / 0.9653 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7446, allocations: 0 / 0.9653 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008514/0.7455, allocations: 402 kB / 0.9657 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.7456, allocations: 117.9 kB / 0.9658 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.7457, allocations: 0.9688 kB / 0.9658 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.7459, allocations: 44.05 kB / 0.9658 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.746, allocations: 9.547 kB / 0.9658 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.746, allocations: 9.859 kB / 0.9658 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001605/0.7462, allocations: 164.1 kB / 0.966 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7462, allocations: 0 / 0.966 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000326/0.7465, allocations: 59.14 kB / 0.966 GB, free: 14.57 MB / 0.7325 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 () * Number of clocked 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.001266/0.7478, allocations: 0.9765 MB / 0.967 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007691/0.7486, allocations: 264.5 kB / 0.9672 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7486, allocations: 0 / 0.9672 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.749, allocations: 138.6 kB / 0.9674 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.7494, allocations: 25.02 kB / 0.9674 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.7524, allocations: 1.476 MB / 0.9688 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.7528, allocations: 0.7432 MB / 0.9696 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002249/0.753, allocations: 38.23 kB / 0.9696 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.7531, allocations: 70.2 kB / 0.9697 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.7531, allocations: 0 / 0.9697 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.7696, allocations: 4.379 MB / 0.974 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.7699, allocations: 208.4 kB / 0.9742 GB, free: 9.555 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/2.468, allocations: 0 / 0.9742 GB, free: 9.555 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat does not exist to compare? outputFormat=mat