Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_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.006871/0.006871, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001597/0.001597, allocations: 196.8 kB / 16.68 MB, free: 5.965 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.132/2.132, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 55.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7603/0.7617, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002621/0.7643, allocations: 1.907 MB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003185/0.7675, allocations: 3.451 MB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.7676, allocations: 1.812 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.7679, allocations: 53.91 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.7683, allocations: 128.1 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.577e-05/0.7684, allocations: 27.83 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.7686, allocations: 170.1 kB / 1.093 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.7687, allocations: 30.8 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.7689, allocations: 82.69 kB / 1.093 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.7691, allocations: 74.52 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.7691, allocations: 8.469 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.7692, allocations: 35.69 kB / 1.093 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.7693, allocations: 34.52 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.203e-05/0.7693, allocations: 80.72 kB / 1.093 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.7696, allocations: 159.5 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.7696, allocations: 0.75 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7696, allocations: 0 / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.7696, allocations: 4.531 kB / 1.094 GB, free: 0.9844 MB / 0.8575 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.0007237/0.7703, allocations: 0.4993 MB / 1.094 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7704, allocations: 14.25 kB / 1.094 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.159e-05/0.7704, allocations: 39.5 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.7705, allocations: 21.34 kB / 1.094 GB, free: 492 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.7707, allocations: 243.2 kB / 1.094 GB, free: 244 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.7708, allocations: 2.062 kB / 1.094 GB, free: 244 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.7708, allocations: 7.672 kB / 1.094 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.7711, allocations: 140.6 kB / 1.094 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7711, allocations: 0 / 1.094 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.7712, allocations: 1.375 kB / 1.094 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.7712, allocations: 13.94 kB / 1.094 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.7716, allocations: 132.9 kB / 1.095 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.7724, allocations: 445.3 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004418/0.7729, allocations: 163.3 kB / 1.095 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.7731, allocations: 99.52 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.7732, allocations: 1.094 kB / 1.095 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.7732, allocations: 41.77 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.7732, allocations: 0 / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.0008941/0.7741, allocations: 280.6 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.7742, allocations: 53.41 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.7744, allocations: 210.1 kB / 1.096 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.7744, allocations: 26.61 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.7745, allocations: 125.2 kB / 1.096 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.704e-05/0.7746, allocations: 43.67 kB / 1.096 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.7746, allocations: 32.64 kB / 1.096 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7748, allocations: 333 kB / 1.096 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.775, allocations: 66.47 kB / 1.096 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.7753, allocations: 75 kB / 1.097 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004754/0.7757, allocations: 160.8 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7757, allocations: 0 / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005543/0.7763, allocations: 208.5 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.7763, allocations: 5.766 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.7763, allocations: 0.9375 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.7764, allocations: 0.9375 kB / 1.097 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.7766, allocations: 36.62 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.7766, allocations: 6.109 kB / 1.097 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.7768, allocations: 27.86 kB / 1.097 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.7768, allocations: 9.141 kB / 1.097 GB, free: 14.65 MB / 0.8731 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 0.0001156/0.7769, allocations: 124.6 kB / 1.097 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.777, allocations: 16.59 kB / 1.097 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.777, allocations: 25.88 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.777, allocations: 5.203 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7771, allocations: 0.8438 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7771, allocations: 5.062 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.7774, allocations: 265.2 kB / 1.097 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.7774, allocations: 1.422 kB / 1.097 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.7776, allocations: 32.64 kB / 1.097 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.7776, allocations: 1.469 kB / 1.097 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.7776, allocations: 6.328 kB / 1.097 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7776, allocations: 5.031 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7777, allocations: 0.7969 kB / 1.097 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006152/0.7783, allocations: 308.3 kB / 1.098 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.7784, allocations: 112.6 kB / 1.098 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.7784, allocations: 2.156 kB / 1.098 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.7786, allocations: 16.06 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.7787, allocations: 12.52 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.7787, allocations: 4.438 kB / 1.098 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000155/0.7789, allocations: 156.9 kB / 1.098 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7789, allocations: 4.594 kB / 1.098 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002731/0.7791, allocations: 38.48 kB / 1.098 GB, free: 13.84 MB / 0.8731 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.0009023/0.7801, allocations: 0.8499 MB / 1.099 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005318/0.7806, allocations: 168.6 kB / 1.099 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7806, allocations: 0 / 1.099 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.7809, allocations: 86.02 kB / 1.099 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.7813, allocations: 22.89 kB / 1.099 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.7845, allocations: 2.263 MB / 1.101 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.7848, allocations: 0.7275 MB / 1.102 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.7849, allocations: 53.2 kB / 1.102 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.795e-05/0.785, allocations: 49.25 kB / 1.102 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of SimCode: time 1.9e-07/0.785, allocations: 0.9062 kB / 1.102 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.8075, allocations: 3.818 MB / 1.106 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.683, allocations: 4.438 kB / 1.106 GB, free: 10.24 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches