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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00957/0.00957, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001896/0.001896, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.773/2.773, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 63.89 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3415, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003884/0.3455, allocations: 1.909 MB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004408/0.3499, allocations: 3.455 MB / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.35, allocations: 0 / 1.213 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.3503, allocations: 55.61 kB / 1.213 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.3508, allocations: 119.3 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.567e-05/0.3508, allocations: 39.89 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.3511, allocations: 167.2 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.3512, allocations: 29.66 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3514, allocations: 83.69 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.3516, allocations: 83.55 kB / 1.214 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.3516, allocations: 8 kB / 1.214 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.77e-05/0.3517, allocations: 23.98 kB / 1.214 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.3517, allocations: 43.78 kB / 1.214 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.847e-05/0.3518, allocations: 67.55 kB / 1.214 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.352, allocations: 175.2 kB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.352, allocations: 0 / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.352, allocations: 4 kB / 1.214 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3521, allocations: 0 / 1.214 GB, free: 3.395 MB / 0.9669 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.0008604/0.3529, allocations: 0.4983 MB / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.353, allocations: 12.62 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.353, allocations: 20.73 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.3534, allocations: 246.8 kB / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.3534, allocations: 4.375 kB / 1.215 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.3534, allocations: 384 / 1.215 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.3538, allocations: 147.2 kB / 1.215 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3538, allocations: 0 / 1.215 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3538, allocations: 0 / 1.215 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.3539, allocations: 15.98 kB / 1.215 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.3543, allocations: 131.8 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.355, allocations: 440.5 kB / 1.215 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.3555, allocations: 162.5 kB / 1.215 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.3559, allocations: 104.7 kB / 1.216 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.3559, allocations: 0 / 1.216 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.356, allocations: 42.56 kB / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.356, allocations: 0 / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0008232/0.3568, allocations: 279.1 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.3569, allocations: 55.41 kB / 1.216 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.3571, allocations: 213 kB / 1.216 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3571, allocations: 25.7 kB / 1.216 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.3572, allocations: 120.1 kB / 1.216 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.3573, allocations: 47.28 kB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.3573, allocations: 33.7 kB / 1.216 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3574, allocations: 338.8 kB / 1.217 GB, free: 304 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.3577, allocations: 71.88 kB / 1.217 GB, free: 232 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.3579, allocations: 71.94 kB / 1.217 GB, free: 160 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.3583, allocations: 155.8 kB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3583, allocations: 0 / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005308/0.3589, allocations: 209.4 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3589, allocations: 4 kB / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3589, allocations: 0 / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3589, allocations: 0 / 1.217 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.3592, allocations: 47.88 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3592, allocations: 0 / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.3594, allocations: 23.89 kB / 1.217 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.3594, allocations: 0 / 1.217 GB, free: 15.72 MB / 0.9825 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.0001292/0.3595, allocations: 133.7 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.3596, allocations: 19.81 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.3596, allocations: 25.83 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3596, allocations: 4 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3596, allocations: 4 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3597, allocations: 3.938 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.36, allocations: 261.3 kB / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.36, allocations: 0 / 1.218 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.3602, allocations: 39.89 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3602, allocations: 0 / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.3602, allocations: 4 kB / 1.218 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3602, allocations: 4 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3602, allocations: 4 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005776/0.3608, allocations: 307.2 kB / 1.218 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3609, allocations: 108.8 kB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.361, allocations: 4 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.3611, allocations: 15.98 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.513e-05/0.3612, allocations: 11.98 kB / 1.218 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3612, allocations: 3.984 kB / 1.218 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001254/0.3614, allocations: 156.5 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.382e-06/0.3614, allocations: 0 / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002671/0.3616, allocations: 39.88 kB / 1.218 GB, free: 14.5 MB / 0.9825 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.0001643/0.3618, allocations: 115.2 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.3623, allocations: 166.5 kB / 1.219 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3623, allocations: 4 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.3626, allocations: 87.86 kB / 1.219 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.363, allocations: 32.66 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.3638, allocations: 394.2 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.3641, allocations: 0.7275 MB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001413/0.3642, allocations: 52.58 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.3643, allocations: 19.38 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3643, allocations: 4 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.004241/0.3685, allocations: 1.752 MB / 1.222 GB, free: 11.12 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (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 & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches