Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_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.005892/0.005892, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001206/0.001206, allocations: 190.6 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.91 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.8364, allocations: 151.6 MB / 1.166 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002942/0.8394, allocations: 1.911 MB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003832/0.8432, allocations: 3.457 MB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.8434, allocations: 4 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.8437, allocations: 47.67 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.8441, allocations: 131.2 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 7.668e-05/0.8442, allocations: 27.95 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000213/0.8444, allocations: 171.2 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.8446, allocations: 29.66 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.8448, allocations: 87.62 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.8449, allocations: 75.62 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.8449, allocations: 8 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.669e-05/0.845, allocations: 35.92 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-05/0.8451, allocations: 39.83 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.273e-05/0.8452, allocations: 71.55 kB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.8454, allocations: 171.3 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8454, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8455, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.8455, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.9044 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.0008185/0.8463, allocations: 0.4945 MB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.8463, allocations: 12.61 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.8464, allocations: 38.75 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.8464, allocations: 20.66 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.8468, allocations: 238.9 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.8468, allocations: 8.375 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.8468, allocations: 8.312 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.8473, allocations: 137.5 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.8473, allocations: 3.984 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.8473, allocations: 0 / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.248e-05/0.8474, allocations: 12 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.8479, allocations: 131.9 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.8485, allocations: 448.4 kB / 1.174 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.849, allocations: 168 kB / 1.174 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.8492, allocations: 100.8 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.8492, allocations: 3.938 kB / 1.174 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.8493, allocations: 38.56 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.223e-06/0.8493, allocations: 4 kB / 1.174 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0008066/0.8501, allocations: 277.3 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.8501, allocations: 51.41 kB / 1.174 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.8504, allocations: 217 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.8504, allocations: 25.7 kB / 1.175 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/0.8505, allocations: 124.1 kB / 1.175 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.8505, allocations: 39.36 kB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.8506, allocations: 29.7 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8507, allocations: 334.8 kB / 1.175 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.8509, allocations: 67.94 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.8512, allocations: 77.44 kB / 1.175 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.8516, allocations: 154.4 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8516, allocations: 4 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004782/0.8521, allocations: 209.3 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.8521, allocations: 4 kB / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8521, allocations: 0 / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8521, allocations: 0 / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.8524, allocations: 39.97 kB / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.8524, allocations: 0 / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.8525, allocations: 27.83 kB / 1.176 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.8525, allocations: 7.922 kB / 1.176 GB, free: 9.727 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/0.8526, allocations: 125.8 kB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.8527, allocations: 19.81 kB / 1.176 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.8528, allocations: 25.83 kB / 1.176 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8528, allocations: 4 kB / 1.176 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8528, allocations: 0 / 1.176 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8528, allocations: 0 / 1.176 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.8531, allocations: 265.4 kB / 1.176 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.8531, allocations: 0 / 1.176 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.8533, allocations: 35.97 kB / 1.176 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8533, allocations: 0 / 1.176 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.8533, allocations: 3.984 kB / 1.176 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8533, allocations: 7.938 kB / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8533, allocations: 0 / 1.176 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005782/0.8539, allocations: 320.8 kB / 1.176 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.854, allocations: 112.7 kB / 1.177 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.8541, allocations: 4 kB / 1.177 GB, free: 8.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.8542, allocations: 15.98 kB / 1.177 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.8543, allocations: 11.98 kB / 1.177 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.8543, allocations: 0 / 1.177 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001358/0.8545, allocations: 168.3 kB / 1.177 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8545, allocations: 0 / 1.177 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000266/0.8547, allocations: 32 kB / 1.177 GB, free: 8.504 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009082/0.8556, allocations: 0.845 MB / 1.178 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.8561, allocations: 168.6 kB / 1.178 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8562, allocations: 0 / 1.178 GB, free: 7.469 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.8564, allocations: 93.23 kB / 1.178 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.8568, allocations: 25.78 kB / 1.178 GB, free: 7.355 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.8599, allocations: 2.239 MB / 1.18 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.8603, allocations: 0.739 MB / 1.181 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001433/0.8604, allocations: 44.59 kB / 1.181 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.8605, allocations: 51.41 kB / 1.181 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.8605, allocations: 0 / 1.181 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.8811, allocations: 3.778 MB / 1.185 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/8.328, allocations: 6.156 kB / 1.185 GB, free: 0.5547 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches