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.001003/0.001003, allocations: 99.62 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.001024/0.001024, 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.131/1.131, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.197/2.197, allocations: 409.2 MB / 0.6838 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.4995, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001596/0.5011, allocations: 1.53 MB / 0.9824 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.5039, allocations: 3.04 MB / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.808e-05/0.504, allocations: 0 / 0.9853 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.5042, allocations: 47.8 kB / 0.9854 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.5045, allocations: 119.5 kB / 0.9855 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.371e-05/0.5045, allocations: 19.97 kB / 0.9855 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.5047, allocations: 115.7 kB / 0.9856 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.5048, allocations: 25.67 kB / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.5049, allocations: 59.77 kB / 0.9857 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.505, allocations: 75.67 kB / 0.9858 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.505, allocations: 8 kB / 0.9858 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.5051, allocations: 19.98 kB / 0.9858 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.5052, allocations: 31.84 kB / 0.9858 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.5052, allocations: 57.56 kB / 0.9859 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.5053, allocations: 103.7 kB / 0.986 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.5053, allocations: 3.938 kB / 0.986 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5053, allocations: 0 / 0.986 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.5054, allocations: 0 / 0.986 GB, free: 1.02 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.0006764/0.506, allocations: 0.4906 MB / 0.9865 GB, free: 492 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.5061, allocations: 12.03 kB / 0.9865 GB, free: 480 kB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.5061, allocations: 38.56 kB / 0.9865 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.354e-05/0.5062, allocations: 23.72 kB / 0.9865 GB, free: 408 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.5064, allocations: 233.8 kB / 0.9868 GB, free: 136 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-06/0.5065, allocations: 0 / 0.9868 GB, free: 136 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.5065, allocations: 11.94 kB / 0.9868 GB, free: 124 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.5068, allocations: 153.5 kB / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.5068, allocations: 0 / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5068, allocations: 0 / 0.9869 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.5069, allocations: 8 kB / 0.9869 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.5073, allocations: 151.8 kB / 0.9871 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.5079, allocations: 456.5 kB / 0.9875 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.5082, allocations: 170.5 kB / 0.9877 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.5082, allocations: 3.984 kB / 0.9877 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.5083, allocations: 34.56 kB / 0.9877 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.5083, allocations: 0 / 0.9877 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007272/0.509, allocations: 300 kB / 0.988 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.509, allocations: 59.39 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.5092, allocations: 209 kB / 0.9883 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.5092, allocations: 29.64 kB / 0.9883 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.5093, allocations: 120 kB / 0.9884 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.5093, allocations: 47.3 kB / 0.9884 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.5094, allocations: 4 kB / 0.9884 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.5094, allocations: 330.8 kB / 0.9888 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.5097, allocations: 84.17 kB / 0.9888 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.5099, allocations: 79.94 kB / 0.9889 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002042/0.5101, allocations: 83.94 kB / 0.989 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5101, allocations: 0 / 0.989 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004658/0.5106, allocations: 220.1 kB / 0.9892 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5106, allocations: 8 kB / 0.9892 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.5106, allocations: 0 / 0.9892 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.5106, allocations: 0 / 0.9892 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.5108, allocations: 47.89 kB / 0.9893 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.5108, allocations: 0 / 0.9893 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.511, allocations: 15.98 kB / 0.9893 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.511, allocations: 8 kB / 0.9893 GB, free: 13.43 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 9.037e-05/0.5111, allocations: 133.8 kB / 0.9894 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.5111, allocations: 19.72 kB / 0.9894 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.5112, allocations: 25.83 kB / 0.9895 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.5112, allocations: 4 kB / 0.9895 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.5112, allocations: 0 / 0.9895 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.5112, allocations: 3.938 kB / 0.9895 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.5114, allocations: 261.4 kB / 0.9897 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5115, allocations: 4 kB / 0.9897 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.5117, allocations: 39.91 kB / 0.9898 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5117, allocations: 4 kB / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.5117, allocations: 4 kB / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5117, allocations: 3.984 kB / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5117, allocations: 0 / 0.9898 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.5122, allocations: 323.1 kB / 0.9901 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.5123, allocations: 108.9 kB / 0.9902 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.5124, allocations: 8 kB / 0.9902 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.5125, allocations: 19.97 kB / 0.9902 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5126, allocations: 19.92 kB / 0.9902 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.5126, allocations: 0 / 0.9902 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001051/0.5127, allocations: 160.4 kB / 0.9904 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5127, allocations: 0 / 0.9904 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002459/0.513, allocations: 32 kB / 0.9904 GB, free: 12.18 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.0007305/0.5137, allocations: 0.8683 MB / 0.9913 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.5142, allocations: 190.5 kB / 0.9914 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5142, allocations: 0 / 0.9914 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.5144, allocations: 103.9 kB / 0.9915 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.5147, allocations: 24.66 kB / 0.9916 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.5164, allocations: 1.247 MB / 0.9928 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.5167, allocations: 0.7394 MB / 0.9935 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.5168, allocations: 48.58 kB / 0.9935 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/0.5169, allocations: 47.42 kB / 0.9936 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.5169, allocations: 0 / 0.9936 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.553/2.07, allocations: 3.351 MB / 0.9969 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/2.07, allocations: 205.3 kB / 0.9971 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.228/5.298, allocations: 6.312 kB / 0.9971 GB, free: 5.43 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