Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",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.001177/0.001177, allocations: 89.73 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.001195/0.001195, 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.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.445 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.583/2.583, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003562, allocations: 12 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8082, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002274/0.8105, allocations: 1.779 MB / 0.9556 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003742/0.8143, allocations: 3.548 MB / 0.959 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.8144, allocations: 4.812 kB / 0.959 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.8147, allocations: 40.69 kB / 0.9591 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003443/0.815, allocations: 115 kB / 0.9592 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003252/0.8154, allocations: 119.5 kB / 0.9593 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.8157, allocations: 260.1 kB / 0.9596 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.8159, allocations: 59.28 kB / 0.9596 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.8161, allocations: 112.1 kB / 0.9597 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.8163, allocations: 119.7 kB / 0.9598 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.8163, allocations: 10.38 kB / 0.9598 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.8165, allocations: 109.9 kB / 0.96 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.8166, allocations: 57.33 kB / 0.96 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.8167, allocations: 62.08 kB / 0.9601 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.8169, allocations: 224.4 kB / 0.9603 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8169, allocations: 1.375 kB / 0.9603 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8169, allocations: 0 / 0.9603 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.817, allocations: 0 / 0.9603 GB, free: 3.016 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001013/0.818, allocations: 0.6311 MB / 0.9609 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.818, allocations: 9.625 kB / 0.9609 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.8181, allocations: 41.3 kB / 0.9609 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007933/0.8189, allocations: 152.2 kB / 0.9611 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000621/0.8195, allocations: 332.5 kB / 0.9614 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.8195, allocations: 7.938 kB / 0.9614 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.8196, allocations: 11.41 kB / 0.9614 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.8202, allocations: 251 kB / 0.9617 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.8202, allocations: 5 kB / 0.9617 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.8203, allocations: 4.953 kB / 0.9617 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.8203, allocations: 2 kB / 0.9617 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009479/0.8212, allocations: 338.2 kB / 0.962 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.8224, allocations: 0.6053 MB / 0.9626 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.8229, allocations: 200.5 kB / 0.9628 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.8234, allocations: 188.2 kB / 0.963 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.8241, allocations: 0.5744 MB / 0.9635 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.8241, allocations: 35.66 kB / 0.9636 GB, free: 456 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.8241, allocations: 0 / 0.9636 GB, free: 456 kB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.001729/0.8259, allocations: 0.5625 MB / 0.9641 GB, free: 192 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.8259, allocations: 55.28 kB / 0.9642 GB, free: 128 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.8262, allocations: 264.1 kB / 0.9644 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.8263, allocations: 29.7 kB / 0.9644 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.8264, allocations: 150.2 kB / 0.9646 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.8265, allocations: 53.19 kB / 0.9646 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/0.8265, allocations: 0 / 0.9646 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.8267, allocations: 338.5 kB / 0.965 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005758/0.8273, allocations: 178.2 kB / 0.9651 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005476/0.8278, allocations: 174.2 kB / 0.9653 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.8284, allocations: 178.4 kB / 0.9655 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8284, allocations: 1 kB / 0.9655 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001232/0.8297, allocations: 429.9 kB / 0.9659 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.8297, allocations: 4.969 kB / 0.9659 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8297, allocations: 0 / 0.9659 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.8297, allocations: 1.031 kB / 0.9659 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.8302, allocations: 88.02 kB / 0.966 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.8302, allocations: 0.9688 kB / 0.966 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.8306, allocations: 63.02 kB / 0.966 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.8306, allocations: 3.938 kB / 0.966 GB, free: 14.91 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 (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 0.0001607/0.8308, allocations: 134.6 kB / 0.9662 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.01e-05/0.8308, allocations: 27.7 kB / 0.9662 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.8321, allocations: 438.4 kB / 0.9666 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.8321, allocations: 2.094 kB / 0.9666 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.8322, allocations: 0 / 0.9666 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.8322, allocations: 3.984 kB / 0.9666 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.8326, allocations: 309.1 kB / 0.9669 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8326, allocations: 0.7188 kB / 0.9669 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.833, allocations: 74.39 kB / 0.967 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.8331, allocations: 1 kB / 0.967 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.8331, allocations: 9.984 kB / 0.967 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.8331, allocations: 1 kB / 0.967 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8331, allocations: 0 / 0.967 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.8344, allocations: 0.4953 MB / 0.9675 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.8345, allocations: 130.8 kB / 0.9676 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.377e-05/0.8346, allocations: 1 kB / 0.9676 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.8349, allocations: 53.8 kB / 0.9676 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.522e-05/0.835, allocations: 18.06 kB / 0.9677 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.835, allocations: 11.2 kB / 0.9677 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002224/0.8353, allocations: 183.8 kB / 0.9678 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8353, allocations: 0 / 0.9678 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005753/0.8359, allocations: 66.25 kB / 0.9679 GB, free: 13.59 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 (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.001781/0.8376, allocations: 1.073 MB / 0.969 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.8389, allocations: 379.1 kB / 0.9693 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.8389, allocations: 0.8438 kB / 0.9693 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005651/0.8394, allocations: 195.7 kB / 0.9695 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.84, allocations: 42.34 kB / 0.9695 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.8439, allocations: 1.852 MB / 0.9714 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.8443, allocations: 0.7496 MB / 0.9721 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002779/0.8446, allocations: 53.66 kB / 0.9721 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.8447, allocations: 76.64 kB / 0.9722 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.8447, allocations: 0 / 0.9722 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.8609, allocations: 5.219 MB / 0.9773 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.8611, allocations: 205 kB / 0.9775 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.636, allocations: 0 / 0.9775 GB, free: 7.516 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat does not exist to compare? outputFormat=mat