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.001167/0.001167, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001291/0.001292, allocations: 177.3 kB / 15.95 MB, free: 216 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.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.45/2.45, allocations: 390.3 MB / 0.6653 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.65/0.6504, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001962/0.6524, allocations: 1.627 MB / 0.9552 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003851/0.6563, allocations: 3.248 MB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.6565, allocations: 1.438 kB / 0.9584 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.6567, allocations: 52.55 kB / 0.9584 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.6571, allocations: 109.8 kB / 0.9585 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.6574, allocations: 99.53 kB / 0.9586 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.6578, allocations: 159.3 kB / 0.9588 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.658, allocations: 38.83 kB / 0.9588 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.6582, allocations: 94.41 kB / 0.9589 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.6584, allocations: 95.34 kB / 0.959 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.6585, allocations: 8.25 kB / 0.959 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002708/0.6587, allocations: 109.6 kB / 0.9591 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.6588, allocations: 31.16 kB / 0.9591 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.719e-05/0.6589, allocations: 58.7 kB / 0.9592 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.6591, allocations: 184.5 kB / 0.9593 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6592, allocations: 0 / 0.9593 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6592, allocations: 0 / 0.9593 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.6592, allocations: 3.938 kB / 0.9594 GB, free: 3.508 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.001105/0.6603, allocations: 0.5792 MB / 0.9599 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.6603, allocations: 9.188 kB / 0.9599 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.644e-05/0.6604, allocations: 40.72 kB / 0.96 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.6605, allocations: 23.53 kB / 0.96 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.6609, allocations: 264.8 kB / 0.9602 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.6609, allocations: 16.58 kB / 0.9603 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.661, allocations: 12.56 kB / 0.9603 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.6615, allocations: 188 kB / 0.9604 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6615, allocations: 0 / 0.9604 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.6615, allocations: 4.719 kB / 0.9605 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6615, allocations: 2.844 kB / 0.9605 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.6622, allocations: 239.5 kB / 0.9607 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008393/0.6631, allocations: 0.492 MB / 0.9612 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003868/0.6635, allocations: 148.2 kB / 0.9613 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/0.6642, allocations: 0.5742 MB / 0.9619 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.6643, allocations: 35.75 kB / 0.9619 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.6643, allocations: 0 / 0.9619 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001208/0.6655, allocations: 417.5 kB / 0.9623 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.6655, allocations: 53.78 kB / 0.9623 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.6657, allocations: 233.3 kB / 0.9626 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6657, allocations: 25.7 kB / 0.9626 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.6658, allocations: 145.9 kB / 0.9627 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.6659, allocations: 32.12 kB / 0.9628 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.6659, allocations: 1.156 kB / 0.9628 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.6659, allocations: 331.3 kB / 0.9631 GB, free: 364 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.6663, allocations: 118.1 kB / 0.9632 GB, free: 316 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.6667, allocations: 115.3 kB / 0.9633 GB, free: 272 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.667, allocations: 123.1 kB / 0.9634 GB, free: 220 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.667, allocations: 3.953 kB / 0.9634 GB, free: 216 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007478/0.6678, allocations: 301.8 kB / 0.9637 GB, free: 68 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6678, allocations: 10.97 kB / 0.9637 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.6678, allocations: 0 / 0.9637 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6678, allocations: 1.156 kB / 0.9637 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.6682, allocations: 55.09 kB / 0.9638 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.6682, allocations: 0 / 0.9638 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.6684, allocations: 48.45 kB / 0.9638 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.6684, allocations: 3.281 kB / 0.9638 GB, free: 24 kB / 0.7169 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.0001298/0.6686, allocations: 122 kB / 0.9639 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.6686, allocations: 29.03 kB / 0.964 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008826/0.6695, allocations: 329.6 kB / 0.9643 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6695, allocations: 1.406 kB / 0.9643 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6695, allocations: 3.938 kB / 0.9643 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6696, allocations: 5.328 kB / 0.9643 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.6699, allocations: 269.1 kB / 0.9646 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6699, allocations: 0.9375 kB / 0.9646 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.6702, allocations: 66.48 kB / 0.9646 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6702, allocations: 0 / 0.9646 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.6702, allocations: 3.812 kB / 0.9646 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6702, allocations: 0 / 0.9646 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6702, allocations: 3.938 kB / 0.9646 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008172/0.6711, allocations: 400.8 kB / 0.965 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.6712, allocations: 105.7 kB / 0.9651 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.6712, allocations: 17.09 kB / 0.9651 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.6715, allocations: 32 kB / 0.9652 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.6716, allocations: 24.86 kB / 0.9652 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.6716, allocations: 3.562 kB / 0.9652 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001486/0.6718, allocations: 170.4 kB / 0.9653 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6718, allocations: 0 / 0.9653 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003356/0.6721, allocations: 59.52 kB / 0.9654 GB, free: 14.86 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.001224/0.6733, allocations: 0.9467 MB / 0.9663 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007934/0.6742, allocations: 257.8 kB / 0.9666 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6742, allocations: 7.938 kB / 0.9666 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.6746, allocations: 135.2 kB / 0.9667 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.6749, allocations: 35.77 kB / 0.9667 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.6777, allocations: 1.476 MB / 0.9682 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.678, allocations: 0.7475 MB / 0.9689 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000184/0.6782, allocations: 34.84 kB / 0.9689 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.6783, allocations: 66.44 kB / 0.969 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.6783, allocations: 0 / 0.969 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.6933, allocations: 4.359 MB / 0.9733 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.6935, allocations: 205.7 kB / 0.9735 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.335, allocations: 4 kB / 0.9735 GB, free: 9.863 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