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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001638/0.001638, allocations: 102.2 kB / 16.27 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.001847/0.001847, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.15/2.15, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 66.25 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2822, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShadeDT): time 0.00394/0.2862, allocations: 2.233 MB / 0.9525 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2875, allocations: 0.7088 MB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001892/0.2877, allocations: 11.94 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.2882, allocations: 91.67 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.2884, allocations: 63.47 kB / 0.9533 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.2885, allocations: 39.95 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.2888, allocations: 215 kB / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.289, allocations: 82.41 kB / 0.9536 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.2891, allocations: 79.66 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.2893, allocations: 91.55 kB / 0.9538 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.2893, allocations: 12 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.2893, allocations: 16 kB / 0.9538 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.856e-05/0.2894, allocations: 31.86 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.3e-05/0.2895, allocations: 99.47 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.2897, allocations: 179.4 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2897, allocations: 0 / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2897, allocations: 0 / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2897, allocations: 0 / 0.9541 GB, free: 4.949 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.0007678/0.2905, allocations: 486.7 kB / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2906, allocations: 16.03 kB / 0.9546 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.2906, allocations: 24.66 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.291, allocations: 248.5 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.291, allocations: 8.375 kB / 0.9549 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.2911, allocations: 16.38 kB / 0.9549 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.2914, allocations: 153.7 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.2914, allocations: 4 kB / 0.955 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2914, allocations: 12 kB / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2914, allocations: 0 / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.2917, allocations: 115.9 kB / 0.9551 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007433/0.2925, allocations: 0.5 MB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.2929, allocations: 170.8 kB / 0.9558 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.2931, allocations: 72.83 kB / 0.9559 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.2931, allocations: 4 kB / 0.9559 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.2932, allocations: 34.56 kB / 0.9559 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.2932, allocations: 3.938 kB / 0.9559 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.000529/0.2937, allocations: 193.4 kB / 0.9561 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.2937, allocations: 55.41 kB / 0.9561 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.2939, allocations: 160.1 kB / 0.9563 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2939, allocations: 25.7 kB / 0.9563 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.294, allocations: 132.1 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.2941, allocations: 51.27 kB / 0.9565 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.2941, allocations: 29.7 kB / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2942, allocations: 330.8 kB / 0.9568 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2944, allocations: 47.97 kB / 0.9569 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.2945, allocations: 50.47 kB / 0.9569 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.2948, allocations: 116.7 kB / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2948, allocations: 0 / 0.957 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003246/0.2951, allocations: 163.9 kB / 0.9572 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2951, allocations: 8 kB / 0.9572 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2951, allocations: 0 / 0.9572 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.2952, allocations: 3.984 kB / 0.9572 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.2953, allocations: 39.98 kB / 0.9573 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2954, allocations: 0 / 0.9573 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.677e-05/0.2954, allocations: 15.83 kB / 0.9573 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.2955, allocations: 7.984 kB / 0.9573 GB, free: 1.48 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.0001059/0.2956, allocations: 133.7 kB / 0.9574 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.2956, allocations: 15.81 kB / 0.9574 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.354e-05/0.2957, allocations: 17.53 kB / 0.9574 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2957, allocations: 7.984 kB / 0.9574 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2957, allocations: 0 / 0.9574 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2957, allocations: 0 / 0.9574 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.296, allocations: 257.4 kB / 0.9577 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.296, allocations: 0 / 0.9577 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.2962, allocations: 35.98 kB / 0.9577 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2962, allocations: 0 / 0.9577 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2962, allocations: 8 kB / 0.9577 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2962, allocations: 3.938 kB / 0.9577 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2962, allocations: 4 kB / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.2967, allocations: 317.8 kB / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.2968, allocations: 96.95 kB / 0.9581 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.2968, allocations: 4 kB / 0.9581 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.297, allocations: 7.984 kB / 0.9581 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.297, allocations: 15.98 kB / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.297, allocations: 8 kB / 0.9582 GB, free: 488 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.205e-05/0.2971, allocations: 124.2 kB / 0.9583 GB, free: 364 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2971, allocations: 0 / 0.9583 GB, free: 364 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000255/0.2974, allocations: 47.78 kB / 0.9583 GB, free: 316 kB / 0.7325 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.0001455/0.2976, allocations: 103.2 kB / 0.9584 GB, free: 204 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.2979, allocations: 127.9 kB / 0.9585 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2979, allocations: 0 / 0.9585 GB, free: 76 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.298, allocations: 67.84 kB / 0.9586 GB, free: 8 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.2984, allocations: 30.03 kB / 0.9586 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.2995, allocations: 0.5807 MB / 0.9592 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2999, allocations: 0.7279 MB / 0.9599 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.2999, allocations: 15.44 kB / 0.9599 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.2999, allocations: 0 / 0.9599 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.003939/0.3039, allocations: 1.967 MB / 0.9619 GB, free: 12.64 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 -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