Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001762/0.001763, allocations: 195 kB / 16.14 MB, free: 6.648 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.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.41 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3345, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003515/0.3381, allocations: 2.217 MB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005084/0.3432, allocations: 4.094 MB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.3434, allocations: 4 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.3442, allocations: 171.6 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.3444, allocations: 67.47 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006217/0.345, allocations: 231.5 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.3456, allocations: 438.6 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3457, allocations: 60.66 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.3459, allocations: 123.5 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.3461, allocations: 155.3 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.3461, allocations: 15.94 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004904/0.3466, allocations: 307.5 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.3468, allocations: 99.69 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.3469, allocations: 166.9 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006142/0.3475, allocations: 0.5491 MB / 1.076 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3476, allocations: 4 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3476, allocations: 0 / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.3476, allocations: 0 / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001535/0.3491, allocations: 0.7878 MB / 1.077 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3492, allocations: 8.031 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009624/0.3501, allocations: 184.2 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008327/0.351, allocations: 386.2 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.351, allocations: 8.562 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3511, allocations: 15.94 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/0.3518, allocations: 250.8 kB / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3518, allocations: 0 / 1.078 GB, free: 440 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.3519, allocations: 4 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3519, allocations: 4 kB / 1.078 GB, free: 432 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.353, allocations: 327.6 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.3546, allocations: 0.6954 MB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.3553, allocations: 226.4 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.3559, allocations: 176.7 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.3559, allocations: 19.98 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.356, allocations: 34.56 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.356, allocations: 0 / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.00179/0.3578, allocations: 0.5589 MB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3578, allocations: 55.41 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000514/0.3584, allocations: 437.8 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3584, allocations: 29.7 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3586, allocations: 188.5 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.3586, allocations: 47.34 kB / 1.08 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.3588, allocations: 49.69 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3589, allocations: 362.7 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006666/0.3596, allocations: 284 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.3602, allocations: 300.3 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.3614, allocations: 0.507 MB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3614, allocations: 0 / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001495/0.3629, allocations: 0.7218 MB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.363, allocations: 45.69 kB / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.363, allocations: 0 / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.363, allocations: 0 / 1.083 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004947/0.3635, allocations: 71.86 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3635, allocations: 3.938 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.3639, allocations: 63.66 kB / 1.083 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.364, allocations: 8 kB / 1.083 GB, free: 11.12 MB / 0.8419 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001971/0.3642, allocations: 159.5 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.3643, allocations: 39.52 kB / 1.083 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.3656, allocations: 437.1 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3656, allocations: 4 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3656, allocations: 0 / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.3656, allocations: 7.875 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.366, allocations: 369.3 kB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.366, allocations: 0 / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.3665, allocations: 59.92 kB / 1.084 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.3665, allocations: 3.938 kB / 1.084 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.3665, allocations: 11.98 kB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3665, allocations: 0 / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3665, allocations: 0 / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.3678, allocations: 0.4987 MB / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.368, allocations: 144.5 kB / 1.084 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.368, allocations: 4 kB / 1.084 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.3684, allocations: 31.95 kB / 1.084 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.3685, allocations: 15.97 kB / 1.084 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3685, allocations: 11.92 kB / 1.084 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003121/0.3688, allocations: 307.1 kB / 1.085 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3688, allocations: 4 kB / 1.085 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005187/0.3693, allocations: 124 kB / 1.085 GB, free: 8.824 MB / 0.8419 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.0003659/0.3697, allocations: 173.4 kB / 1.085 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.3712, allocations: 0.6747 MB / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3712, allocations: 0 / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.3718, allocations: 191.8 kB / 1.086 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.3724, allocations: 61.8 kB / 1.086 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3738, allocations: 0.7859 MB / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3742, allocations: 0.7986 MB / 1.087 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002943/0.3745, allocations: 53.91 kB / 1.087 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.3746, allocations: 23.42 kB / 1.087 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.3746, allocations: 4 kB / 1.087 GB, free: 6 MB / 0.8419 GB Notification: Performance of Templates: time 0.009331/0.3839, allocations: 5.057 MB / 1.092 GB, free: 0.9844 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches