Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.001441, allocations: 108.9 kB / 16.41 MB, free: 6.5 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.001372/0.001372, allocations: 183 kB / 17.34 MB, free: 5.762 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.13 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.388/2.388, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8716, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004353/0.876, allocations: 2.985 MB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.8776, allocations: 0.7869 MB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.8779, allocations: 8 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.8782, allocations: 63.39 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.8786, allocations: 138.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.8791, allocations: 159.7 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.8798, allocations: 0.5106 MB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.8801, allocations: 202.3 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.8805, allocations: 199.2 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.8808, allocations: 226.9 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.225e-05/0.8809, allocations: 40 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.881, allocations: 36 kB / 1.173 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.847e-05/0.8811, allocations: 99.61 kB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.8813, allocations: 214.8 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.8817, allocations: 455.9 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.8817, allocations: 0 / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8817, allocations: 3.938 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.8817, allocations: 4 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001178/0.8829, allocations: 0.725 MB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.883, allocations: 12.92 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.883, allocations: 48.38 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.8834, allocations: 331.2 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.8835, allocations: 29.36 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.8835, allocations: 32.38 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005626/0.8841, allocations: 381.2 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.8841, allocations: 4 kB / 1.175 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.8841, allocations: 16 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.8842, allocations: 15.94 kB / 1.175 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.8847, allocations: 262.4 kB / 1.175 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.8864, allocations: 1.444 MB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.887, allocations: 283.4 kB / 1.177 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003962/0.8875, allocations: 182.8 kB / 1.177 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.8875, allocations: 240 / 1.177 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.8875, allocations: 42.73 kB / 1.177 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=27): time 1.252e-06/0.8876, allocations: 0 / 1.177 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=27): time 0.003077/0.8906, allocations: 0.8796 MB / 1.178 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.8907, allocations: 59.34 kB / 1.178 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.8911, allocations: 361.7 kB / 1.178 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.8912, allocations: 29.7 kB / 1.178 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.8914, allocations: 216.2 kB / 1.178 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.258e-05/0.8915, allocations: 94.66 kB / 1.179 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.8916, allocations: 53.98 kB / 1.179 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.8917, allocations: 346.8 kB / 1.179 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.892, allocations: 97.94 kB / 1.179 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/0.8923, allocations: 160.5 kB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.8928, allocations: 257.1 kB / 1.179 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.8928, allocations: 0 / 1.179 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001265/0.894, allocations: 0.4935 MB / 1.18 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.8941, allocations: 4 kB / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.8941, allocations: 0 / 1.18 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008182/0.8949, allocations: 192.7 kB / 1.18 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.8951, allocations: 35.98 kB / 1.18 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/0.8988, allocations: 2.66 MB / 1.183 GB, free: 3.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/0.8992, allocations: 47.58 kB / 1.183 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.8992, allocations: 8 kB / 1.183 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003337/0.8996, allocations: 200.6 kB / 1.183 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002535/0.8998, allocations: 175.8 kB / 1.183 GB, free: 3.125 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004366/0.9003, allocations: 265.3 kB / 1.183 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.9003, allocations: 0 / 1.183 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.00112/0.9014, allocations: 481.5 kB / 1.184 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.9014, allocations: 4 kB / 1.184 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.9014, allocations: 7.938 kB / 1.184 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006384/0.9021, allocations: 184.8 kB / 1.184 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.9022, allocations: 39.97 kB / 1.184 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.9053, allocations: 2.576 MB / 1.187 GB, free: 15.42 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.9057, allocations: 39.7 kB / 1.187 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.9057, allocations: 12 kB / 1.187 GB, free: 15.37 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.9059, allocations: 200.2 kB / 1.187 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.9059, allocations: 35.53 kB / 1.187 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.639e-05/0.906, allocations: 56.22 kB / 1.187 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.906, allocations: 0 / 1.187 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.9061, allocations: 0 / 1.187 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9061, allocations: 4 kB / 1.187 GB, free: 15.07 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.9066, allocations: 413.6 kB / 1.187 GB, free: 14.62 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.9066, allocations: 4 kB / 1.187 GB, free: 14.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.9067, allocations: 27.91 kB / 1.187 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006127/0.9073, allocations: 172.7 kB / 1.187 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.9074, allocations: 4 kB / 1.187 GB, free: 14.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/0.9104, allocations: 2.581 MB / 1.19 GB, free: 11.69 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.9104, allocations: 4.031 kB / 1.19 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.9115, allocations: 0.5316 MB / 1.191 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.9116, allocations: 136.6 kB / 1.191 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.9117, allocations: 7.938 kB / 1.191 GB, free: 10.97 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.9119, allocations: 23.83 kB / 1.191 GB, free: 10.95 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.912, allocations: 27.95 kB / 1.191 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.912, allocations: 11.94 kB / 1.191 GB, free: 10.91 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002615/0.9123, allocations: 259.2 kB / 1.191 GB, free: 10.66 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9123, allocations: 0 / 1.191 GB, free: 10.66 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007466/0.9131, allocations: 247.7 kB / 1.191 GB, free: 10.41 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001577/0.9132, allocations: 103.2 kB / 1.191 GB, free: 10.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.9148, allocations: 0.7789 MB / 1.192 GB, free: 9.5 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9148, allocations: 4.375 kB / 1.192 GB, free: 9.496 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005173/0.9153, allocations: 318.5 kB / 1.192 GB, free: 9.172 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.9159, allocations: 105.4 kB / 1.192 GB, free: 9.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.9173, allocations: 0.6981 MB / 1.193 GB, free: 8.34 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.9177, allocations: 0.8075 MB / 1.194 GB, free: 7.504 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.9178, allocations: 23.44 kB / 1.194 GB, free: 7.48 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.9178, allocations: 0 / 1.194 GB, free: 7.48 MB / 0.92 GB Notification: Performance of Templates: time 0.009032/0.9268, allocations: 6.05 MB / 1.2 GB, free: 1.453 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches