Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.0009941/0.000994, allocations: 92.31 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.001097/0.001098, 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.556/1.556, allocations: 223.2 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.649/2.649, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005484/0.0005488, allocations: 12 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.864/0.8646, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002307/0.8669, allocations: 1.569 MB / 0.9827 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004241/0.8712, allocations: 3.23 MB / 0.9858 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.8714, allocations: 0 / 0.9858 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.8717, allocations: 43.73 kB / 0.9859 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005822/0.8723, allocations: 127.3 kB / 0.986 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.8724, allocations: 19.97 kB / 0.986 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.8727, allocations: 159.2 kB / 0.9862 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.8728, allocations: 25.66 kB / 0.9862 GB, free: 1.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.873, allocations: 67.72 kB / 0.9862 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.8732, allocations: 75.67 kB / 0.9863 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.354e-05/0.8733, allocations: 8 kB / 0.9863 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.941e-05/0.8734, allocations: 19.92 kB / 0.9863 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.584e-05/0.8735, allocations: 35.83 kB / 0.9864 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.012e-05/0.8735, allocations: 49.64 kB / 0.9864 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.8737, allocations: 111.7 kB / 0.9865 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8737, allocations: 0 / 0.9865 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8737, allocations: 4 kB / 0.9865 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8737, allocations: 0 / 0.9865 GB, free: 0.6836 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007728/0.8745, allocations: 486.5 kB / 0.987 GB, free: 164 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.8746, allocations: 12.03 kB / 0.987 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.125e-05/0.8746, allocations: 38.55 kB / 0.987 GB, free: 104 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.8747, allocations: 23.72 kB / 0.9871 GB, free: 80 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.875, allocations: 233.6 kB / 0.9873 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.8751, allocations: 4 kB / 0.9873 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.8751, allocations: 7.953 kB / 0.9873 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.8754, allocations: 153.5 kB / 0.9875 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.8754, allocations: 0 / 0.9875 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.8755, allocations: 0 / 0.9875 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.559e-05/0.8755, allocations: 15.98 kB / 0.9875 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000405/0.8759, allocations: 155.8 kB / 0.9876 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.8766, allocations: 448.6 kB / 0.988 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.877, allocations: 174.5 kB / 0.9882 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.8772, allocations: 108.8 kB / 0.9883 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.8773, allocations: 7.938 kB / 0.9883 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.8773, allocations: 30.56 kB / 0.9884 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.8773, allocations: 0 / 0.9884 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007811/0.8781, allocations: 304.5 kB / 0.9886 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.8782, allocations: 55.41 kB / 0.9887 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.8783, allocations: 205 kB / 0.9889 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.8784, allocations: 33.64 kB / 0.9889 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.8785, allocations: 124 kB / 0.989 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.8785, allocations: 43.36 kB / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.8785, allocations: 4 kB / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.8787, allocations: 334.8 kB / 0.9894 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.8789, allocations: 79.94 kB / 0.9895 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.8791, allocations: 84.12 kB / 0.9896 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.8793, allocations: 83.94 kB / 0.9896 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8793, allocations: 4 kB / 0.9896 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004776/0.8798, allocations: 213.4 kB / 0.9898 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8798, allocations: 9.406 kB / 0.9899 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.8799, allocations: 3.984 kB / 0.9899 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.8799, allocations: 0 / 0.9899 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.8801, allocations: 39.97 kB / 0.9899 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.8801, allocations: 0 / 0.9899 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.8803, allocations: 19.92 kB / 0.9899 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.8803, allocations: 15.97 kB / 0.9899 GB, free: 12.98 MB / 0.7481 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 (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 prepare postOptimizeDAE: time 0.0001206/0.8804, allocations: 129.8 kB / 0.9901 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.8805, allocations: 19.72 kB / 0.9901 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.8805, allocations: 29.77 kB / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.8805, allocations: 4 kB / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8806, allocations: 0 / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8806, allocations: 3.984 kB / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.8809, allocations: 265.4 kB / 0.9904 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8809, allocations: 0 / 0.9904 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.8811, allocations: 39.97 kB / 0.9904 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8811, allocations: 0 / 0.9904 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.8811, allocations: 7.984 kB / 0.9904 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8811, allocations: 3.938 kB / 0.9904 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8811, allocations: 0 / 0.9904 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.8817, allocations: 329.8 kB / 0.9907 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.8818, allocations: 100.9 kB / 0.9908 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.8818, allocations: 11.98 kB / 0.9908 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.882, allocations: 19.98 kB / 0.9909 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.882, allocations: 11.98 kB / 0.9909 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.8821, allocations: 0 / 0.9909 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001327/0.8822, allocations: 156.5 kB / 0.991 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8822, allocations: 0 / 0.991 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000277/0.8825, allocations: 35.94 kB / 0.9911 GB, free: 11.74 MB / 0.7481 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.0008762/0.8834, allocations: 0.8683 MB / 0.9919 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.8839, allocations: 191.7 kB / 0.9921 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8839, allocations: 0 / 0.9921 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.8841, allocations: 99.92 kB / 0.9922 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.8845, allocations: 24.66 kB / 0.9922 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.8866, allocations: 1.265 MB / 0.9934 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.8869, allocations: 0.7316 MB / 0.9941 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000175/0.8871, allocations: 48.59 kB / 0.9942 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.8872, allocations: 47.42 kB / 0.9942 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of SimCode: time 3.6e-07/0.8872, allocations: 0 / 0.9942 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.9013, allocations: 3.368 MB / 0.9975 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.9016, allocations: 212.7 kB / 0.9977 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.705, allocations: 3.703 kB / 0.9977 GB, free: 4.969 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat does not exist to compare? outputFormat=mat