Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001079/0.001079, allocations: 106.6 kB / 16.27 MB, free: 6.414 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.001055/0.001055, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.43/2.43, allocations: 437 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.38 kB / 0.8699 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.265, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.003876/0.2689, allocations: 2.238 MB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2703, allocations: 0.7088 MB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.2705, allocations: 4 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004948/0.271, allocations: 99.66 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.2713, allocations: 67.42 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.2714, allocations: 43.92 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.2717, allocations: 211 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.2719, allocations: 71.05 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.2721, allocations: 79.7 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.2722, allocations: 87.56 kB / 1.021 GB, free: 7.016 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.2722, allocations: 16 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.334e-05/0.2723, allocations: 16 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.2723, allocations: 35.84 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.2724, allocations: 87.53 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.2726, allocations: 183.4 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.2727, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2727, allocations: 0 / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.2727, allocations: 4 kB / 1.022 GB, free: 6.68 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007866/0.2735, allocations: 490.6 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.2735, allocations: 8.922 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.2736, allocations: 24.66 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.2739, allocations: 256.5 kB / 1.023 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2739, allocations: 8.375 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.274, allocations: 16.38 kB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.2743, allocations: 155.2 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2743, allocations: 0 / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.2743, allocations: 8 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2744, allocations: 4 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.2747, allocations: 111.9 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.2754, allocations: 0.5077 MB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.2759, allocations: 158.8 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.2761, allocations: 76.77 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.2761, allocations: 8 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.2761, allocations: 38.55 kB / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.2761, allocations: 0 / 1.024 GB, free: 4.676 MB / 0.795 GB Notification: Performance of matching and sorting (n=15): time 0.0005171/0.2766, allocations: 189.4 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.2767, allocations: 51.41 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2768, allocations: 155.4 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2769, allocations: 33.7 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.277, allocations: 132.2 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.277, allocations: 51.27 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.2771, allocations: 29.7 kB / 1.024 GB, free: 3.992 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2772, allocations: 330.8 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.2773, allocations: 47.91 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.2775, allocations: 58.62 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.2777, allocations: 116.8 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2777, allocations: 0 / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003295/0.2781, allocations: 160.4 kB / 1.025 GB, free: 3.281 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2781, allocations: 8 kB / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2781, allocations: 0 / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2781, allocations: 0 / 1.025 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2783, allocations: 39.92 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2783, allocations: 4 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.2784, allocations: 15.89 kB / 1.025 GB, free: 3.215 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.2784, allocations: 4 kB / 1.025 GB, free: 3.211 MB / 0.795 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.000166/0.2786, allocations: 130.7 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.2786, allocations: 11.81 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.2787, allocations: 21.52 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.2787, allocations: 4 kB / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2787, allocations: 0 / 1.025 GB, free: 3.043 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.2787, allocations: 4 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.279, allocations: 261.4 kB / 1.025 GB, free: 2.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.279, allocations: 4 kB / 1.025 GB, free: 2.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.2792, allocations: 39.97 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2793, allocations: 0 / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2793, allocations: 0 / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.2793, allocations: 4 kB / 1.025 GB, free: 2.688 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2793, allocations: 3.938 kB / 1.025 GB, free: 2.684 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.2798, allocations: 321.1 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.2799, allocations: 101 kB / 1.026 GB, free: 2.238 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.2799, allocations: 4 kB / 1.026 GB, free: 2.234 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2801, allocations: 7.984 kB / 1.026 GB, free: 2.227 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.2801, allocations: 11.98 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.2801, allocations: 4 kB / 1.026 GB, free: 2.211 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.549e-05/0.2802, allocations: 120.9 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2802, allocations: 0 / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002581/0.2805, allocations: 43.84 kB / 1.026 GB, free: 2.051 MB / 0.795 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.0001293/0.2806, allocations: 99.25 kB / 1.026 GB, free: 1.941 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.281, allocations: 127.9 kB / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.281, allocations: 0 / 1.026 GB, free: 1.816 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.2812, allocations: 75.78 kB / 1.026 GB, free: 1.742 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.2816, allocations: 31.91 kB / 1.026 GB, free: 1.711 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2828, allocations: 0.5907 MB / 1.027 GB, free: 1.094 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.2832, allocations: 0.728 MB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.2832, allocations: 15.44 kB / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.2833, allocations: 0 / 1.028 GB, free: 336 kB / 0.795 GB Notification: Performance of Templates: time 0.0037/0.287, allocations: 1.966 MB / 1.03 GB, free: 14.38 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches