Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,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.HeatCapacityVariableShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,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.HeatCapacityVariableShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007436/0.0007436, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.004493/0.004493, allocations: 171.1 kB / 16.27 MB, free: 6.652 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.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: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.00051, allocations: 10.75 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3732, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.002466/0.3757, allocations: 1.935 MB / 1.061 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3768, allocations: 0.7048 MB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.3769, allocations: 4 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.3773, allocations: 95.8 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.3774, allocations: 55.55 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.144e-05/0.3775, allocations: 31.97 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000212/0.3777, allocations: 203 kB / 1.062 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.3779, allocations: 62.31 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.378, allocations: 67.66 kB / 1.062 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3781, allocations: 71.58 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3782, allocations: 8 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.3782, allocations: 8 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.3782, allocations: 31.83 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.3783, allocations: 105.2 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.3785, allocations: 175.3 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3785, allocations: 0 / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3785, allocations: 0 / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3785, allocations: 0 / 1.062 GB, free: 1.895 MB / 0.8106 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.0006712/0.3792, allocations: 470.8 kB / 1.063 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3793, allocations: 8.031 kB / 1.063 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.3793, allocations: 28.59 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.3797, allocations: 237.3 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.3797, allocations: 20.31 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.3797, allocations: 16.38 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.38, allocations: 153.7 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3801, allocations: 0 / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3801, allocations: 4 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3801, allocations: 7.984 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003041/0.3804, allocations: 123.9 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007036/0.3811, allocations: 0.5038 MB / 1.064 GB, free: 208 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.3816, allocations: 170.8 kB / 1.064 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.3818, allocations: 80.86 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3818, allocations: 4 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3818, allocations: 38.56 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.3818, allocations: 0 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0005423/0.3824, allocations: 212 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.3824, allocations: 51.41 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3826, allocations: 159.3 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3826, allocations: 33.7 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.763e-05/0.3827, allocations: 136.1 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.3827, allocations: 47.27 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.3828, allocations: 21.72 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3829, allocations: 326.8 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3831, allocations: 51.97 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3832, allocations: 57.16 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.3835, allocations: 133.9 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3835, allocations: 0 / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003484/0.3838, allocations: 175.3 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3839, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3839, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3839, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.3841, allocations: 43.91 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3841, allocations: 0 / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3842, allocations: 27.89 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.3842, allocations: 0 / 1.065 GB, free: 14.38 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.0001064/0.3843, allocations: 127.3 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.3844, allocations: 15.84 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.517e-05/0.3844, allocations: 21.53 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3844, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3844, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3844, allocations: 3.984 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.3847, allocations: 253.4 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3847, allocations: 4 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.3849, allocations: 43.97 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.385, allocations: 3.938 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.385, allocations: 4 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.385, allocations: 0 / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.385, allocations: 4 kB / 1.066 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.3855, allocations: 339.1 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.3856, allocations: 96.95 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.3856, allocations: 4 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3858, allocations: 19.98 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.3858, allocations: 7.984 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.3858, allocations: 0 / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.932e-05/0.3859, allocations: 120.9 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3859, allocations: 0 / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002475/0.3862, allocations: 43.84 kB / 1.066 GB, free: 13.2 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.0001276/0.3863, allocations: 103.2 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.3866, allocations: 135.8 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3867, allocations: 3.938 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3868, allocations: 71.84 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.3872, allocations: 29.3 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.3882, allocations: 0.6996 MB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.3885, allocations: 0.7283 MB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.838e-05/0.3886, allocations: 13.55 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.3886, allocations: 15.44 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3887, allocations: 0 / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of Templates: time 0.00405/0.3927, allocations: 1.353 MB / 1.069 GB, free: 10.05 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches