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.001754/0.001754, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002066/0.002066, allocations: 190.3 kB / 16.25 MB, free: 6.152 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.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.327/2.327, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5321/0.5335, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00332/0.5369, allocations: 1.954 MB / 0.9511 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003895/0.5408, allocations: 3.416 MB / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.5409, allocations: 0.9062 kB / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.5412, allocations: 50.58 kB / 0.9545 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.5418, allocations: 123.8 kB / 0.9547 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.887e-05/0.5419, allocations: 20.05 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.5421, allocations: 168.5 kB / 0.9548 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.5423, allocations: 31.42 kB / 0.9549 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002038/0.5425, allocations: 78.41 kB / 0.9549 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.5426, allocations: 80.78 kB / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.5427, allocations: 8.438 kB / 0.955 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-05/0.5428, allocations: 36.47 kB / 0.9551 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.5428, allocations: 38.03 kB / 0.9551 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.5429, allocations: 74.14 kB / 0.9552 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.5432, allocations: 157 kB / 0.9553 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5432, allocations: 0 / 0.9553 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5432, allocations: 4 kB / 0.9553 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5432, allocations: 0 / 0.9553 GB, free: 4.273 MB / 0.7169 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.0008527/0.5441, allocations: 0.495 MB / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5441, allocations: 9.781 kB / 0.9558 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.5442, allocations: 40.05 kB / 0.9558 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.5442, allocations: 18.03 kB / 0.9559 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.5446, allocations: 244 kB / 0.9561 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.5446, allocations: 6.891 kB / 0.9561 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.5446, allocations: 6.688 kB / 0.9561 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003935/0.545, allocations: 133.6 kB / 0.9562 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.545, allocations: 1.125 kB / 0.9562 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.5451, allocations: 4 kB / 0.9562 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.5451, allocations: 12.14 kB / 0.9563 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005121/0.5456, allocations: 144.9 kB / 0.9564 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006918/0.5463, allocations: 440 kB / 0.9568 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.5468, allocations: 169 kB / 0.957 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.5471, allocations: 99.91 kB / 0.9571 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.5471, allocations: 6.031 kB / 0.9571 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.5471, allocations: 34.5 kB / 0.9571 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.5471, allocations: 0 / 0.9571 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0009726/0.5481, allocations: 278.2 kB / 0.9574 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.5481, allocations: 57.12 kB / 0.9574 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.5483, allocations: 205.5 kB / 0.9576 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.5484, allocations: 31.3 kB / 0.9577 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.48e-05/0.5484, allocations: 118.8 kB / 0.9578 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.5485, allocations: 41.81 kB / 0.9578 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.857e-05/0.5485, allocations: 33.05 kB / 0.9578 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.5486, allocations: 337.5 kB / 0.9582 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.5489, allocations: 73.06 kB / 0.9582 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.5491, allocations: 76 kB / 0.9583 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.5496, allocations: 167.1 kB / 0.9585 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5497, allocations: 1.188 kB / 0.9585 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005883/0.5503, allocations: 197.9 kB / 0.9587 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5503, allocations: 11.12 kB / 0.9587 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.5503, allocations: 1.25 kB / 0.9587 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.5503, allocations: 0 / 0.9587 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.5506, allocations: 40.08 kB / 0.9587 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5506, allocations: 5.25 kB / 0.9587 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.5508, allocations: 15.33 kB / 0.9587 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.5509, allocations: 7.25 kB / 0.9587 GB, free: 1.527 MB / 0.7169 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.455e-05/0.551, allocations: 130.7 kB / 0.9589 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.551, allocations: 20.53 kB / 0.9589 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.5511, allocations: 30.3 kB / 0.9589 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5511, allocations: 2.25 kB / 0.9589 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5511, allocations: 0 / 0.9589 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5511, allocations: 0 / 0.9589 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.5514, allocations: 259.4 kB / 0.9592 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5514, allocations: 0 / 0.9592 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.5517, allocations: 31.84 kB / 0.9592 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.5517, allocations: 5.219 kB / 0.9592 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.5517, allocations: 5.094 kB / 0.9592 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5518, allocations: 5.172 kB / 0.9592 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5518, allocations: 0 / 0.9592 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.5524, allocations: 318.5 kB / 0.9595 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.5525, allocations: 106.5 kB / 0.9596 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.5526, allocations: 5.125 kB / 0.9596 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.5528, allocations: 15.41 kB / 0.9596 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.5528, allocations: 13.08 kB / 0.9596 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.5528, allocations: 3.094 kB / 0.9596 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.909e-05/0.5529, allocations: 155.6 kB / 0.9598 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5529, allocations: 0 / 0.9598 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002643/0.5532, allocations: 42.8 kB / 0.9598 GB, free: 0.5977 MB / 0.7169 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.0007248/0.5539, allocations: 0.8477 MB / 0.9607 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004853/0.5544, allocations: 180.8 kB / 0.9608 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5545, allocations: 7.938 kB / 0.9608 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.5547, allocations: 94.48 kB / 0.9609 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.5551, allocations: 30.48 kB / 0.961 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.558, allocations: 2.284 MB / 0.9632 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.5583, allocations: 0.7277 MB / 0.9639 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001631/0.5584, allocations: 46.56 kB / 0.9639 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.5586, allocations: 50.61 kB / 0.964 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.5586, allocations: 0 / 0.964 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3676/0.9262, allocations: 3.534 MB / 0.9674 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/0.9265, allocations: 216.1 kB / 0.9676 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.795, allocations: 7.938 kB / 0.9677 GB, free: 11.22 MB / 0.7325 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