Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.223/2.223, allocations: 393.5 MB / 408.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 178.7 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.1 MB / 0.7992 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 105.6 kB / 0.9396 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003721/0.0003721, allocations: 15.72 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3092, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.349, allocations: 375 MB / 1.596 GB, free: 5.344 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/1.349, allocations: 93.27 kB / 1.596 GB, free: 5.293 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02541/1.375, allocations: 9.771 MB / 1.605 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.362e-06/1.375, allocations: 0 / 1.605 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.588e-05/1.375, allocations: 4 kB / 1.605 GB, free: 13.28 MB / 0.9323 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.000957/1.376, allocations: 0.497 MB / 1.606 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.376, allocations: 12.03 kB / 1.606 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/1.376, allocations: 38.17 kB / 1.606 GB, free: 12.69 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.451e-05/1.376, allocations: 23.72 kB / 1.606 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/1.377, allocations: 240.6 kB / 1.606 GB, free: 12.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/1.377, allocations: 8 kB / 1.606 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/1.377, allocations: 4 kB / 1.606 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/1.377, allocations: 147.1 kB / 1.606 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.377, allocations: 0 / 1.606 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/1.377, allocations: 3.953 kB / 1.606 GB, free: 12.26 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/1.377, allocations: 19.42 kB / 1.606 GB, free: 12.25 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/1.378, allocations: 157.2 kB / 1.606 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/1.379, allocations: 455.4 kB / 1.607 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/1.379, allocations: 181 kB / 1.607 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/1.379, allocations: 3.984 kB / 1.607 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/1.379, allocations: 46.42 kB / 1.607 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 2.936e-06/1.379, allocations: 0 / 1.607 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0008748/1.38, allocations: 320.6 kB / 1.607 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/1.38, allocations: 51.66 kB / 1.607 GB, free: 11.16 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/1.38, allocations: 187.6 kB / 1.607 GB, free: 11 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/1.38, allocations: 33.7 kB / 1.607 GB, free: 10.96 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/1.381, allocations: 123.9 kB / 1.608 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/1.381, allocations: 42.48 kB / 1.608 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/1.381, allocations: 0 / 1.608 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001751/1.381, allocations: 332.8 kB / 1.608 GB, free: 10.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/1.381, allocations: 85.69 kB / 1.608 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/1.381, allocations: 80.69 kB / 1.608 GB, free: 10.37 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/1.382, allocations: 89.19 kB / 1.608 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.382, allocations: 0 / 1.608 GB, free: 10.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005691/1.382, allocations: 231.8 kB / 1.608 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.382, allocations: 11.95 kB / 1.608 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.382, allocations: 0 / 1.608 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.382, allocations: 0 / 1.608 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/1.383, allocations: 39.95 kB / 1.608 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.383, allocations: 4 kB / 1.608 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/1.383, allocations: 19.89 kB / 1.609 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/1.383, allocations: 11.56 kB / 1.609 GB, free: 10.02 MB / 0.9323 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.0001609/1.383, allocations: 133.9 kB / 1.609 GB, free: 9.891 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/1.383, allocations: 15.81 kB / 1.609 GB, free: 9.875 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/1.383, allocations: 33.16 kB / 1.609 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.383, allocations: 8 kB / 1.609 GB, free: 9.852 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.383, allocations: 0 / 1.609 GB, free: 9.852 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.383, allocations: 0 / 1.609 GB, free: 9.852 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004112/1.384, allocations: 262.8 kB / 1.609 GB, free: 9.578 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.384, allocations: 4 kB / 1.609 GB, free: 9.574 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/1.384, allocations: 39.95 kB / 1.609 GB, free: 9.535 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.384, allocations: 0 / 1.609 GB, free: 9.535 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/1.384, allocations: 0 / 1.609 GB, free: 9.535 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/1.384, allocations: 11.95 kB / 1.609 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.384, allocations: 0 / 1.609 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000649/1.385, allocations: 337.5 kB / 1.609 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/1.385, allocations: 112.5 kB / 1.609 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/1.385, allocations: 0 / 1.609 GB, free: 9.102 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/1.385, allocations: 27.09 kB / 1.609 GB, free: 9.078 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/1.385, allocations: 15.94 kB / 1.609 GB, free: 9.062 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/1.385, allocations: 4 kB / 1.609 GB, free: 9.059 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001399/1.385, allocations: 158.3 kB / 1.61 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/1.385, allocations: 0 / 1.61 GB, free: 8.926 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003008/1.386, allocations: 42.75 kB / 1.61 GB, free: 8.891 MB / 0.9323 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.001009/1.387, allocations: 0.9025 MB / 1.611 GB, free: 8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005076/1.387, allocations: 191.5 kB / 1.611 GB, free: 7.848 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.387, allocations: 0 / 1.611 GB, free: 7.848 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/1.387, allocations: 104.6 kB / 1.611 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/1.388, allocations: 30.31 kB / 1.611 GB, free: 7.746 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/1.39, allocations: 1.318 MB / 1.612 GB, free: 6.539 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/1.391, allocations: 0.7363 MB / 1.613 GB, free: 5.777 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002243/1.391, allocations: 52.58 kB / 1.613 GB, free: 5.727 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/1.391, allocations: 50.22 kB / 1.613 GB, free: 5.707 MB / 0.9323 GB Notification: Performance of SimCode: time 8.32e-07/1.391, allocations: 7.938 kB / 1.613 GB, free: 5.699 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0517/1.443, allocations: 4.402 MB / 1.617 GB, free: 1.484 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/1.443, allocations: 204.8 kB / 1.617 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/3.267, allocations: 3.938 kB / 1.617 GB, free: 1.242 MB / 0.9323 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat does not exist to compare? outputFormat=mat