Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001273/0.001273, allocations: 102 kB / 16.27 MB, free: 5.969 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.001316/0.001317, allocations: 194.4 kB / 17.2 MB, free: 5.594 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.323/1.323, 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 11.0.1-master/package.mo): time 2.601/2.601, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 61.75 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3073, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade): time 0.004138/0.3115, allocations: 2.229 MB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.313, allocations: 0.7126 MB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.3133, allocations: 4 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005357/0.3138, allocations: 95.67 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.3142, allocations: 67.47 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.3143, allocations: 43.89 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.3146, allocations: 203.1 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.3149, allocations: 74.42 kB / 1.068 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.3151, allocations: 83.66 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.3152, allocations: 83.61 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.3153, allocations: 16 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 3.649e-05/0.3153, allocations: 19.94 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.3154, allocations: 39.78 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.3155, allocations: 91.53 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.3157, allocations: 183.3 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3158, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3158, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.3158, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 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.0008002/0.3166, allocations: 494.6 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3166, allocations: 8.625 kB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.3167, allocations: 20.75 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.3171, allocations: 248.5 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3171, allocations: 8.375 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/0.3172, allocations: 20.38 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.3175, allocations: 149.7 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3175, allocations: 0 / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.3176, allocations: 4 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3176, allocations: 7.938 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.3179, allocations: 111.9 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/0.3186, allocations: 0.5078 MB / 1.07 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.3191, allocations: 162.8 kB / 1.07 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3192, allocations: 72.81 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.3193, allocations: 4 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3193, allocations: 38.56 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.3193, allocations: 0 / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0005528/0.3199, allocations: 200 kB / 1.07 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.3199, allocations: 51.41 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3201, allocations: 163.4 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3201, allocations: 25.7 kB / 1.07 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.3202, allocations: 128.2 kB / 1.07 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.3202, allocations: 51.25 kB / 1.07 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/0.3203, allocations: 37.62 kB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3204, allocations: 326.8 kB / 1.071 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3206, allocations: 43.97 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.3207, allocations: 54 kB / 1.071 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.321, allocations: 116.7 kB / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.321, allocations: 0 / 1.071 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003412/0.3214, allocations: 163 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3214, allocations: 8 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3214, allocations: 3.938 kB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3214, allocations: 0 / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3216, allocations: 47.91 kB / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3216, allocations: 0 / 1.071 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.977e-05/0.3217, allocations: 11.91 kB / 1.071 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.3217, allocations: 4 kB / 1.071 GB, free: 7.617 MB / 0.8419 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.0001034/0.3219, allocations: 126.3 kB / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.3219, allocations: 15.8 kB / 1.071 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.322, allocations: 21.53 kB / 1.071 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.322, allocations: 4 kB / 1.071 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.322, allocations: 4 kB / 1.071 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.322, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.3223, allocations: 253.4 kB / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3223, allocations: 0 / 1.072 GB, free: 7.145 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.3225, allocations: 43.91 kB / 1.072 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3225, allocations: 0 / 1.072 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3225, allocations: 8 kB / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3225, allocations: 0 / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3225, allocations: 0 / 1.072 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.3231, allocations: 323.1 kB / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.3232, allocations: 101 kB / 1.072 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.3232, allocations: 3.984 kB / 1.072 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.3233, allocations: 8 kB / 1.072 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.3233, allocations: 7.984 kB / 1.072 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3234, allocations: 4 kB / 1.072 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001193/0.3235, allocations: 124.9 kB / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.563e-06/0.3235, allocations: 3.938 kB / 1.072 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000276/0.3238, allocations: 47.78 kB / 1.072 GB, free: 6.449 MB / 0.8419 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.0001172/0.3239, allocations: 103.2 kB / 1.072 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003479/0.3243, allocations: 129.7 kB / 1.072 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3243, allocations: 0 / 1.072 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3244, allocations: 75.84 kB / 1.073 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3248, allocations: 31.84 kB / 1.073 GB, free: 6.109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3259, allocations: 0.573 MB / 1.073 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3263, allocations: 0.7241 MB / 1.074 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.3264, allocations: 19.44 kB / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3264, allocations: 0 / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of Templates: time 0.003937/0.3303, allocations: 1.962 MB / 1.076 GB, free: 2.789 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Validation_HeatCapacityVariableShade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityVariableShade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches