Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.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.HeatCapacityVariableShade,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.HeatCapacityVariableShade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade,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.HeatCapacityVariableShade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001935/0.001935, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.223/2.223, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 65.3 kB / 0.8132 GB, free: 32.97 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2759, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.003814/0.2797, allocations: 2.235 MB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.2811, allocations: 0.701 MB / 0.9531 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.2814, allocations: 7.938 kB / 0.9531 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.2819, allocations: 95.67 kB / 0.9532 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.2822, allocations: 67.47 kB / 0.9533 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001506/0.2824, allocations: 47.88 kB / 0.9533 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003651/0.2828, allocations: 211 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.283, allocations: 78.42 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.2832, allocations: 79.64 kB / 0.9537 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.2834, allocations: 91.56 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2835, allocations: 12 kB / 0.9538 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.651e-05/0.2835, allocations: 16 kB / 0.9538 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.2836, allocations: 35.84 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.2837, allocations: 95.47 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.2839, allocations: 179.4 kB / 0.9541 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2839, allocations: 0 / 0.9541 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2839, allocations: 4 kB / 0.9541 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.284, allocations: 0 / 0.9541 GB, free: 4.891 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.0007984/0.2848, allocations: 482.7 kB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2848, allocations: 12.03 kB / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.2849, allocations: 24.66 kB / 0.9546 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.2853, allocations: 260.5 kB / 0.9549 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.2853, allocations: 8.375 kB / 0.9549 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.2853, allocations: 16.38 kB / 0.9549 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.2857, allocations: 149.7 kB / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2857, allocations: 0 / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2857, allocations: 4 kB / 0.955 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2857, allocations: 4 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.2861, allocations: 119.9 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.2869, allocations: 0.5 MB / 0.9556 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000434/0.2874, allocations: 162.8 kB / 0.9558 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2876, allocations: 76.77 kB / 0.9559 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.2876, allocations: 8 kB / 0.9559 GB, free: 2.938 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2876, allocations: 30.56 kB / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.2876, allocations: 0 / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0005598/0.2882, allocations: 195.5 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.2883, allocations: 51.41 kB / 0.9561 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.2884, allocations: 160.1 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.2884, allocations: 33.7 kB / 0.9563 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.2885, allocations: 132.1 kB / 0.9564 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.2886, allocations: 55.25 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.2887, allocations: 29.7 kB / 0.9565 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2888, allocations: 330.8 kB / 0.9568 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.289, allocations: 43.97 kB / 0.9569 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.2891, allocations: 47.97 kB / 0.9569 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.2894, allocations: 123.5 kB / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2894, allocations: 0 / 0.957 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003438/0.2898, allocations: 161.4 kB / 0.9572 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2898, allocations: 7.984 kB / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2898, allocations: 0 / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2898, allocations: 0 / 0.9572 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.29, allocations: 39.98 kB / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.29, allocations: 0 / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.2901, allocations: 19.83 kB / 0.9573 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-06/0.2902, allocations: 4 kB / 0.9573 GB, free: 1.43 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.0001325/0.2903, allocations: 133.7 kB / 0.9574 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.2903, allocations: 15.81 kB / 0.9574 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.2904, allocations: 17.52 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.2904, allocations: 4 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2904, allocations: 0 / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2904, allocations: 4 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002858/0.2907, allocations: 257.4 kB / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2907, allocations: 0 / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.2909, allocations: 39.92 kB / 0.9577 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2909, allocations: 0 / 0.9577 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.291, allocations: 0 / 0.9577 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.291, allocations: 7.984 kB / 0.9577 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/0.291, allocations: 4 kB / 0.9577 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.2916, allocations: 319.2 kB / 0.958 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-05/0.2917, allocations: 100.9 kB / 0.9581 GB, free: 464 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.2918, allocations: 4.094 kB / 0.9581 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.2919, allocations: 7.984 kB / 0.9581 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.2919, allocations: 11.97 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.292, allocations: 8 kB / 0.9582 GB, free: 432 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.335e-05/0.292, allocations: 124.2 kB / 0.9583 GB, free: 308 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2921, allocations: 0 / 0.9583 GB, free: 308 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000273/0.2923, allocations: 47.84 kB / 0.9583 GB, free: 260 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.0001444/0.2925, allocations: 103.2 kB / 0.9584 GB, free: 148 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000344/0.2928, allocations: 123.1 kB / 0.9585 GB, free: 28 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.2928, allocations: 4 kB / 0.9585 GB, free: 24 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.293, allocations: 71.88 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.2934, allocations: 26.44 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.2946, allocations: 0.5767 MB / 0.9592 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.295, allocations: 0.7357 MB / 0.9599 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.295, allocations: 15.44 kB / 0.9599 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of SimCode: time 2e-07/0.295, allocations: 0 / 0.9599 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of Templates: time 0.00398/0.299, allocations: 1.963 MB / 0.9618 GB, free: 12.59 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches