Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001231/0.001231, allocations: 104.2 kB / 16.27 MB, free: 5.961 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.001445/0.001445, allocations: 188 kB / 17.19 MB, free: 5.594 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.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437 MB / 0.711 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 72.3 kB / 0.8699 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2865, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade): time 0.004635/0.2912, allocations: 3.022 MB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001686/0.2929, allocations: 0.8995 MB / 1.022 GB, free: 6.742 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003139/0.2933, allocations: 8 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.2939, allocations: 135.3 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.2943, allocations: 130.9 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.2945, allocations: 91.83 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.2951, allocations: 453.8 kB / 1.023 GB, free: 5.938 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.2953, allocations: 145.9 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.2956, allocations: 163.4 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.2959, allocations: 175.2 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.2959, allocations: 32 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.039e-05/0.296, allocations: 32 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.876e-05/0.2961, allocations: 83.62 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.2963, allocations: 195.1 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000382/0.2967, allocations: 390.6 kB / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2967, allocations: 0 / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2967, allocations: 0 / 1.024 GB, free: 4.742 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.2968, allocations: 0 / 1.024 GB, free: 4.742 MB / 0.795 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.0009572/0.2977, allocations: 0.6512 MB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2978, allocations: 12.86 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.2979, allocations: 40.47 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.2983, allocations: 308.5 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.2984, allocations: 25.38 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.2985, allocations: 36.38 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.299, allocations: 367.1 kB / 1.025 GB, free: 3.195 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.299, allocations: 7.891 kB / 1.025 GB, free: 3.188 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.299, allocations: 16 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2991, allocations: 8 kB / 1.025 GB, free: 3.164 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.2994, allocations: 208.6 kB / 1.025 GB, free: 2.961 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.3011, allocations: 1.486 MB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003879/0.3015, allocations: 282.6 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3017, allocations: 123.4 kB / 1.027 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3017, allocations: 4 kB / 1.027 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3017, allocations: 46.44 kB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.3017, allocations: 0 / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of matching and sorting (n=30): time 0.0005469/0.3023, allocations: 269.2 kB / 1.027 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.3024, allocations: 140.5 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3026, allocations: 238.6 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3026, allocations: 33.7 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.3028, allocations: 188.1 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.423e-05/0.3029, allocations: 114.3 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.303, allocations: 65.98 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.3031, allocations: 334.8 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3033, allocations: 76.66 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.3034, allocations: 157.8 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.3037, allocations: 248.4 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3037, allocations: 0 / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004493/0.3042, allocations: 293.1 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3042, allocations: 7.938 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3042, allocations: 8.547 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3043, allocations: 4.75 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.3046, allocations: 83.91 kB / 1.029 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3046, allocations: 7.984 kB / 1.029 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3048, allocations: 35.59 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.3048, allocations: 16 kB / 1.029 GB, free: 14.48 MB / 0.8106 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.000134/0.3049, allocations: 148.1 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.305, allocations: 35.59 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.3051, allocations: 37.7 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3051, allocations: 12 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3051, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3051, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.3057, allocations: 349.3 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3057, allocations: 0 / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.306, allocations: 83.83 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.3061, allocations: 4 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3061, allocations: 8 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.3061, allocations: 3.984 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3061, allocations: 0 / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/0.3067, allocations: 0.6312 MB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.3068, allocations: 124.7 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.3069, allocations: 8 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.3071, allocations: 4 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.3072, allocations: 19.97 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3072, allocations: 12 kB / 1.031 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001563/0.3073, allocations: 174 kB / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.664e-06/0.3073, allocations: 0 / 1.031 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004983/0.3078, allocations: 99.62 kB / 1.031 GB, free: 12.66 MB / 0.8106 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.0001514/0.308, allocations: 123.2 kB / 1.031 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003723/0.3084, allocations: 208.2 kB / 1.031 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3084, allocations: 4 kB / 1.031 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.3085, allocations: 95.84 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/0.3092, allocations: 50.53 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.3111, allocations: 1.149 MB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.3115, allocations: 0.7873 MB / 1.033 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.338e-05/0.3116, allocations: 27.44 kB / 1.034 GB, free: 10.15 MB / 0.8106 GB Notification: Performance of SimCode: time 6.51e-07/0.3116, allocations: 4 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of Templates: time 0.006376/0.318, allocations: 3.484 MB / 1.037 GB, free: 6.664 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityConstantShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches