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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001306/0.001305, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.00129/0.00129, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.39/2.39, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.001231, allocations: 74.27 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2906, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.003216/0.2939, allocations: 2.245 MB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009799/0.2949, allocations: 0.7164 MB / 1.03 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.295, allocations: 7.938 kB / 1.03 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003562/0.2954, allocations: 95.39 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.849e-05/0.2955, allocations: 67.47 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.382e-05/0.2956, allocations: 35.95 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.2958, allocations: 211 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.2959, allocations: 78.42 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.2961, allocations: 79.66 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.2962, allocations: 87.61 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.2962, allocations: 12 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.944e-05/0.2962, allocations: 16 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.2963, allocations: 35.84 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.453e-05/0.2964, allocations: 99.47 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.2966, allocations: 183.3 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2966, allocations: 8 kB / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2966, allocations: 0 / 1.031 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.2966, allocations: 0 / 1.031 GB, free: 14.11 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.0006476/0.2972, allocations: 490.6 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.2973, allocations: 8.031 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.2973, allocations: 24.75 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.2978, allocations: 245.2 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.2978, allocations: 12.38 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.2979, allocations: 16.38 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.2983, allocations: 153.6 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2984, allocations: 4 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.2984, allocations: 4 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.2984, allocations: 4 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.2989, allocations: 107.9 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.2998, allocations: 0.5077 MB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/0.3004, allocations: 162.8 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.3007, allocations: 72.83 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3007, allocations: 0 / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/0.3008, allocations: 46.5 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 3.055e-06/0.3008, allocations: 3.984 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0007338/0.3015, allocations: 193.4 kB / 1.033 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3016, allocations: 55.41 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3018, allocations: 160 kB / 1.033 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.3018, allocations: 29.7 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.3019, allocations: 132.2 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.302, allocations: 47.27 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.3021, allocations: 33.7 kB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.3023, allocations: 326.8 kB / 1.033 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.3025, allocations: 55.88 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.3027, allocations: 46.62 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.3031, allocations: 120.7 kB / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3031, allocations: 0 / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004843/0.3036, allocations: 159.8 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3036, allocations: 4 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3036, allocations: 3.984 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3037, allocations: 4 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.3039, allocations: 35.92 kB / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.304, allocations: 0 / 1.034 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.3041, allocations: 23.89 kB / 1.034 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3041, allocations: 4 kB / 1.034 GB, free: 10.65 MB / 0.8106 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.000133/0.3043, allocations: 125.7 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.308e-05/0.3043, allocations: 15.81 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.3044, allocations: 25.52 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3044, allocations: 0 / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3045, allocations: 0 / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3045, allocations: 0 / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.3049, allocations: 257.4 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3049, allocations: 4 kB / 1.034 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.3052, allocations: 39.92 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3052, allocations: 7.938 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.3053, allocations: 0 / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3053, allocations: 0 / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3053, allocations: 3.984 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007527/0.306, allocations: 321.8 kB / 1.035 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/0.3062, allocations: 96.95 kB / 1.035 GB, free: 9.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.3062, allocations: 4 kB / 1.035 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3064, allocations: 11.98 kB / 1.035 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.3065, allocations: 11.92 kB / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3065, allocations: 0 / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001237/0.3066, allocations: 120 kB / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.3067, allocations: 0 / 1.035 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004925/0.3072, allocations: 47.84 kB / 1.035 GB, free: 9.484 MB / 0.8106 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.0001546/0.3073, allocations: 107.2 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005018/0.3078, allocations: 119.9 kB / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3078, allocations: 3.938 kB / 1.035 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.3081, allocations: 67.84 kB / 1.035 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.3086, allocations: 37.33 kB / 1.035 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.3101, allocations: 0.5401 MB / 1.036 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.3105, allocations: 0.7241 MB / 1.036 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.3106, allocations: 21.52 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.3107, allocations: 19.44 kB / 1.036 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3107, allocations: 0 / 1.036 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of Templates: time 0.006289/0.317, allocations: 1.478 MB / 1.038 GB, free: 6.367 MB / 0.8106 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 -s gbode -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/jenkins1/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