Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portUns.T|heaCapGla.portSha.T|heaCapGla01.TUns|heaCapGla01.TSha|heaCapGlaNoSha.TUns",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCapGla.portUns.T|heaCapGla.portSha.T|heaCapGla01.TUns|heaCapGla01.TSha|heaCapGlaNoSha.TUns",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.0009477, allocations: 98.27 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.006083/0.006083, allocations: 170.6 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003874, allocations: 12.42 kB / 0.9028 GB, free: 36.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3839, allocations: 159.6 MB / 1.059 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.003435/0.3874, allocations: 2.7 MB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3889, allocations: 0.8801 MB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.3891, allocations: 12 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.3896, allocations: 115.6 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.3898, allocations: 123 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.39, allocations: 75.92 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.3904, allocations: 437.8 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.3907, allocations: 129.4 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.3909, allocations: 131.5 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.3911, allocations: 167.1 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.3911, allocations: 20 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 4.564e-05/0.3912, allocations: 16 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.609e-05/0.3912, allocations: 55.7 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.3914, allocations: 212.7 kB / 1.064 GB, free: 432 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003381/0.3918, allocations: 366.5 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3918, allocations: 4 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3918, allocations: 3.984 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3918, allocations: 0 / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.0008832/0.3927, allocations: 0.5773 MB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.3928, allocations: 8.031 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.3928, allocations: 44.47 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.3933, allocations: 304.4 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3933, allocations: 29.38 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/0.3934, allocations: 36.38 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.3939, allocations: 378.9 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.3939, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.394, allocations: 16 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.394, allocations: 12 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000339/0.3943, allocations: 202.2 kB / 1.065 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.3959, allocations: 1.482 MB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003994/0.3963, allocations: 286.5 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.3965, allocations: 115.5 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3965, allocations: 8 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.3965, allocations: 50.5 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.482e-06/0.3965, allocations: 3.938 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0005592/0.3971, allocations: 277.1 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.3972, allocations: 136.5 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3974, allocations: 234.6 kB / 1.068 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.3975, allocations: 37.7 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.3976, allocations: 188.1 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.99e-05/0.3977, allocations: 118.3 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.3977, allocations: 37.7 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3979, allocations: 334.8 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.398, allocations: 72.72 kB / 1.069 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.3982, allocations: 150 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.3985, allocations: 244.4 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3985, allocations: 0 / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004091/0.3989, allocations: 304.9 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3989, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.399, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.399, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.3993, allocations: 83.91 kB / 1.07 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3993, allocations: 8.156 kB / 1.07 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3995, allocations: 39.67 kB / 1.07 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.3995, allocations: 16.39 kB / 1.07 GB, free: 9.891 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (45): * Single equations (assignments): 45 * 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.0001416/0.3997, allocations: 149.7 kB / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.3998, allocations: 27.66 kB / 1.07 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.3999, allocations: 41.7 kB / 1.07 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.3999, allocations: 7.938 kB / 1.07 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3999, allocations: 0 / 1.07 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.3999, allocations: 3.984 kB / 1.07 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/0.4004, allocations: 349.2 kB / 1.07 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4005, allocations: 0 / 1.07 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.4008, allocations: 83.83 kB / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4008, allocations: 4 kB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.4009, allocations: 8 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4009, allocations: 0.75 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.4009, allocations: 4 kB / 1.07 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.4015, allocations: 0.6308 MB / 1.071 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4017, allocations: 120.7 kB / 1.071 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.4017, allocations: 15.98 kB / 1.071 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.402, allocations: 19.84 kB / 1.071 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.402, allocations: 19.97 kB / 1.071 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.222e-05/0.402, allocations: 8 kB / 1.071 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001408/0.4022, allocations: 170 kB / 1.071 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4022, allocations: 4 kB / 1.071 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004827/0.4027, allocations: 87.84 kB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T,heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.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 (30): * Single equations (assignments): 30 * 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.0001641/0.4028, allocations: 111.3 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003467/0.4032, allocations: 215.7 kB / 1.072 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4032, allocations: 0 / 1.072 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.4033, allocations: 87.91 kB / 1.072 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.404, allocations: 57.78 kB / 1.072 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.4059, allocations: 1.423 MB / 1.073 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.4063, allocations: 0.7834 MB / 1.074 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001266/0.4064, allocations: 38.89 kB / 1.074 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.4065, allocations: 31.38 kB / 1.074 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.4065, allocations: 0 / 1.074 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of Templates: time 0.005943/0.4124, allocations: 2.39 MB / 1.076 GB, free: 2.926 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches