Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001596/0.001596, allocations: 112.6 kB / 16.37 MB, free: 6 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.001434/0.001434, allocations: 196 kB / 17.31 MB, free: 5.613 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 66.17 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3467, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.00385/0.3506, allocations: 2.231 MB / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3517, allocations: 0.7165 MB / 0.954 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.3519, allocations: 4 kB / 0.954 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.3523, allocations: 95.39 kB / 0.9541 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.3524, allocations: 71.41 kB / 0.9542 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.994e-05/0.3525, allocations: 39.94 kB / 0.9542 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.3527, allocations: 211 kB / 0.9544 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.3529, allocations: 78.42 kB / 0.9545 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3531, allocations: 79.7 kB / 0.9546 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.3532, allocations: 91.55 kB / 0.9547 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.3532, allocations: 16 kB / 0.9547 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.711e-05/0.3533, allocations: 12 kB / 0.9547 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.3533, allocations: 35.86 kB / 0.9547 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.144e-05/0.3534, allocations: 91.52 kB / 0.9548 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3536, allocations: 187.3 kB / 0.955 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3536, allocations: 0 / 0.955 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3536, allocations: 0 / 0.955 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3537, allocations: 0 / 0.955 GB, free: 4.121 MB / 0.7325 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.0007533/0.3544, allocations: 490.7 kB / 0.9554 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3545, allocations: 8.031 kB / 0.9555 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.3545, allocations: 28.66 kB / 0.9555 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.3549, allocations: 252.5 kB / 0.9557 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3549, allocations: 12.38 kB / 0.9557 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.355, allocations: 12.38 kB / 0.9557 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.3553, allocations: 157.4 kB / 0.9559 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3553, allocations: 0 / 0.9559 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.3553, allocations: 8 kB / 0.9559 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.3553, allocations: 7.938 kB / 0.9559 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002666/0.3556, allocations: 111.9 kB / 0.956 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007026/0.3563, allocations: 0.496 MB / 0.9565 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.3567, allocations: 168.9 kB / 0.9567 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.3569, allocations: 80.77 kB / 0.9567 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3569, allocations: 0 / 0.9567 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.3569, allocations: 34.56 kB / 0.9568 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.3569, allocations: 0 / 0.9568 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0004775/0.3574, allocations: 197.4 kB / 0.957 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3574, allocations: 55.41 kB / 0.957 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.3576, allocations: 156.1 kB / 0.9572 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3576, allocations: 25.7 kB / 0.9572 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.3577, allocations: 132.1 kB / 0.9573 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.3578, allocations: 51.25 kB / 0.9574 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.162e-05/0.3578, allocations: 33.7 kB / 0.9574 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.358, allocations: 330.8 kB / 0.9577 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.3581, allocations: 47.97 kB / 0.9578 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.3582, allocations: 43.97 kB / 0.9578 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.3584, allocations: 123 kB / 0.9579 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3585, allocations: 0 / 0.9579 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003038/0.3588, allocations: 161.4 kB / 0.9581 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3588, allocations: 8 kB / 0.9581 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3588, allocations: 3.984 kB / 0.9581 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3588, allocations: 0 / 0.9581 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.359, allocations: 39.98 kB / 0.9581 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.359, allocations: 0 / 0.9581 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.3591, allocations: 11.89 kB / 0.9581 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3591, allocations: 4 kB / 0.9581 GB, free: 0.6562 MB / 0.7325 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.0001044/0.3592, allocations: 133.7 kB / 0.9583 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.3593, allocations: 15.81 kB / 0.9583 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.3593, allocations: 21.52 kB / 0.9583 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3593, allocations: 4 kB / 0.9583 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3593, allocations: 0 / 0.9583 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3593, allocations: 0 / 0.9583 GB, free: 488 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.3596, allocations: 257.4 kB / 0.9585 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3596, allocations: 0 / 0.9585 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.3598, allocations: 35.98 kB / 0.9586 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3598, allocations: 0 / 0.9586 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.3598, allocations: 11.94 kB / 0.9586 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.3598, allocations: 4 kB / 0.9586 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3599, allocations: 7.922 kB / 0.9586 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.3604, allocations: 320.8 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.071e-05/0.3605, allocations: 101 kB / 0.959 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3605, allocations: 4 kB / 0.959 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3606, allocations: 11.98 kB / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3607, allocations: 11.98 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3607, allocations: 4 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.073e-05/0.3608, allocations: 120.2 kB / 0.9592 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3608, allocations: 0 / 0.9592 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002499/0.3611, allocations: 43.84 kB / 0.9592 GB, free: 15.48 MB / 0.7481 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.0001316/0.3612, allocations: 103.2 kB / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.3615, allocations: 119.9 kB / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3615, allocations: 0 / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.3617, allocations: 67.84 kB / 0.9595 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.362, allocations: 34.14 kB / 0.9595 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.363, allocations: 0.5633 MB / 0.9601 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/0.3633, allocations: 0.7279 MB / 0.9608 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.806e-05/0.3634, allocations: 21.53 kB / 0.9608 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.3634, allocations: 15.44 kB / 0.9608 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/0.3635, allocations: 0 / 0.9608 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.004149/0.3676, allocations: 1.459 MB / 0.9622 GB, free: 12.35 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShadeDT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches