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.001561/0.001561, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.772/2.772, allocations: 472.7 MB / 0.7451 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 72.64 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3367, allocations: 159.9 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003629/0.3403, allocations: 2.167 MB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005451/0.3458, allocations: 4.085 MB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.346, allocations: 4 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008738/0.3469, allocations: 183.4 kB / 1.075 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.3471, allocations: 75.28 kB / 1.075 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006556/0.3477, allocations: 291.2 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005878/0.3483, allocations: 426.7 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3485, allocations: 64.7 kB / 1.075 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.3487, allocations: 131.5 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.3489, allocations: 159.3 kB / 1.076 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.299e-05/0.3489, allocations: 20 kB / 1.076 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.3494, allocations: 319.5 kB / 1.076 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.3496, allocations: 111.7 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.3497, allocations: 174.9 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006883/0.3504, allocations: 0.5608 MB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3505, allocations: 4 kB / 1.077 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3505, allocations: 0 / 1.077 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.3505, allocations: 0 / 1.077 GB, free: 1.566 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.001466/0.352, allocations: 0.7917 MB / 1.078 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.352, allocations: 12.03 kB / 1.078 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.353, allocations: 176.2 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007959/0.3538, allocations: 386.3 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3538, allocations: 8.562 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.374e-05/0.3539, allocations: 15.94 kB / 1.078 GB, free: 96 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.3546, allocations: 250.4 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.3546, allocations: 0 / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.3547, allocations: 0 / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3547, allocations: 7.938 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3558, allocations: 335.6 kB / 1.079 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.3572, allocations: 0.6877 MB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.3579, allocations: 226.3 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.3584, allocations: 177 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.3585, allocations: 27.98 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.3585, allocations: 34.56 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/0.3585, allocations: 0 / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001822/0.3604, allocations: 0.5594 MB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.3604, allocations: 55.34 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.3609, allocations: 433.8 kB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.3609, allocations: 33.7 kB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.361, allocations: 188.5 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.3611, allocations: 43.36 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.3612, allocations: 45.69 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3614, allocations: 358.7 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006638/0.362, allocations: 296 kB / 1.082 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.3627, allocations: 292.3 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.3639, allocations: 0.5098 MB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3639, allocations: 0 / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001516/0.3655, allocations: 0.7225 MB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.3655, allocations: 45.67 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3655, allocations: 3.938 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3655, allocations: 4 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.366, allocations: 63.92 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.366, allocations: 4 kB / 1.083 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.3664, allocations: 55.67 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3665, allocations: 7.984 kB / 1.083 GB, free: 10.54 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.0001747/0.3666, allocations: 163.3 kB / 1.084 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.3667, allocations: 35.53 kB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.368, allocations: 452.2 kB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.368, allocations: 0 / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3681, allocations: 0 / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3681, allocations: 7.875 kB / 1.084 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.3685, allocations: 369.3 kB / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3685, allocations: 0 / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004263/0.3689, allocations: 67.86 kB / 1.084 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3689, allocations: 0 / 1.084 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.369, allocations: 3.984 kB / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.369, allocations: 0 / 1.084 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.369, allocations: 4 kB / 1.084 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.3702, allocations: 0.4987 MB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3703, allocations: 144.5 kB / 1.085 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.3704, allocations: 4 kB / 1.085 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003849/0.3708, allocations: 31.95 kB / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.3709, allocations: 19.97 kB / 1.085 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.3709, allocations: 7.922 kB / 1.085 GB, free: 8.656 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00028/0.3712, allocations: 303.1 kB / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3712, allocations: 4 kB / 1.085 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004639/0.3717, allocations: 124 kB / 1.086 GB, free: 8.242 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.0003169/0.372, allocations: 175.7 kB / 1.086 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.3734, allocations: 0.6864 MB / 1.086 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3735, allocations: 0 / 1.086 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005744/0.374, allocations: 191.8 kB / 1.087 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/0.3746, allocations: 66.58 kB / 1.087 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.3758, allocations: 0.7029 MB / 1.087 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3762, allocations: 0.7905 MB / 1.088 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.3765, allocations: 61.78 kB / 1.088 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3766, allocations: 31.41 kB / 1.088 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3766, allocations: 4 kB / 1.088 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of Templates: time 0.009274/0.3859, allocations: 5.453 MB / 1.093 GB, free: 72 kB / 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