Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.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.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portSha.T|heaCapGla.portUns.T|heaCapGla.portSha.Q_flow|heaCapGla.portUns.Q_flow",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001982/0.001982, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.757/2.757, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.86 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3609, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.003356/0.3643, allocations: 2.276 MB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.3653, allocations: 0.7126 MB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.3654, allocations: 4 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.3659, allocations: 91.73 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.366, allocations: 51.61 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.73e-05/0.3661, allocations: 35.97 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.3663, allocations: 199 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3665, allocations: 71.83 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3666, allocations: 79.66 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3667, allocations: 79.61 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.3668, allocations: 12 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.072e-05/0.3668, allocations: 8 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.3668, allocations: 43.84 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.847e-05/0.3669, allocations: 91.41 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3671, allocations: 179.3 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3671, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.91e-07/0.3671, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3672, allocations: 0 / 1.071 GB, free: 6.934 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007443/0.3679, allocations: 490.7 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.368, allocations: 8.031 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.368, allocations: 24.73 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.3683, allocations: 252.5 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3684, allocations: 8.375 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.3684, allocations: 16.38 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.3687, allocations: 155.5 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3687, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3688, allocations: 8 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3688, allocations: 4 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.3691, allocations: 111.9 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.3698, allocations: 0.496 MB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.3702, allocations: 172.4 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3704, allocations: 76.83 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.3704, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.3704, allocations: 42.48 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.3704, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0005092/0.3709, allocations: 197.3 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.371, allocations: 51.41 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3711, allocations: 155.4 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3712, allocations: 29.7 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.3712, allocations: 128.2 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.3713, allocations: 51.17 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.053e-05/0.3714, allocations: 33.7 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3715, allocations: 330.8 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3716, allocations: 47.97 kB / 1.074 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3717, allocations: 45.22 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.372, allocations: 114.2 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.372, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003269/0.3723, allocations: 171.3 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3724, allocations: 12 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3724, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3724, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3726, allocations: 39.92 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3726, allocations: 0 / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3727, allocations: 15.98 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3727, allocations: 3.984 kB / 1.075 GB, free: 3.48 MB / 0.8262 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): 18 * 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.0001532/0.3729, allocations: 137.7 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.3729, allocations: 19.8 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.373, allocations: 17.53 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.373, allocations: 0 / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.373, allocations: 0 / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.373, allocations: 4 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.3733, allocations: 261.3 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3733, allocations: 0 / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.3735, allocations: 39.97 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3735, allocations: 0 / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3735, allocations: 8 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3735, allocations: 0 / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3735, allocations: 0 / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005135/0.374, allocations: 320.6 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.3741, allocations: 96.98 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3741, allocations: 4 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.3743, allocations: 15.98 kB / 1.075 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.3743, allocations: 11.98 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3743, allocations: 4 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.579e-05/0.3744, allocations: 120.9 kB / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3744, allocations: 0 / 1.076 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002557/0.3747, allocations: 43.84 kB / 1.076 GB, free: 2.305 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha.T) * 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 (15): * Single equations (assignments): 15 * 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.0001403/0.3748, allocations: 103.2 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.3752, allocations: 127.9 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3752, allocations: 0 / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.3753, allocations: 63.91 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3757, allocations: 27.92 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3768, allocations: 0.6331 MB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.3771, allocations: 0.7244 MB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.362e-05/0.3771, allocations: 17.55 kB / 1.077 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/0.3772, allocations: 15.44 kB / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3772, allocations: 0 / 1.077 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of Templates: time 0.003891/0.3811, allocations: 1.347 MB / 1.079 GB, free: 15.24 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches