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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001366/0.001366, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.384/1.384, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.543/2.543, allocations: 437 MB / 0.7106 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 71.91 kB / 0.8692 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5929/0.595, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade): time 0.004415/0.5995, allocations: 3.021 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.601, allocations: 0.7907 MB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.6013, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.6016, allocations: 39.64 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.602, allocations: 119.1 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.6024, allocations: 131.8 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005887/0.603, allocations: 498.9 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003301/0.6034, allocations: 193.9 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003132/0.6037, allocations: 187.2 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.604, allocations: 222.9 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.553e-05/0.6041, allocations: 24 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-05/0.6042, allocations: 24 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.6043, allocations: 87.66 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/0.6045, allocations: 206.8 kB / 1.023 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.6048, allocations: 321.2 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6048, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6048, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.6049, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 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.001336/0.6062, allocations: 0.7367 MB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6062, allocations: 8.031 kB / 1.024 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001107/0.6064, allocations: 52.38 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.6068, allocations: 323.2 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.6068, allocations: 25.38 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.6069, allocations: 36.38 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.6075, allocations: 385.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.6076, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.6076, allocations: 12 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.577e-06/0.6076, allocations: 12 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.6082, allocations: 274.3 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.6101, allocations: 1.444 MB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005927/0.6107, allocations: 289 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003932/0.6111, allocations: 181.2 kB / 1.027 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.6111, allocations: 4.234 kB / 1.027 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.6112, allocations: 42.73 kB / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=27): time 1.443e-06/0.6112, allocations: 0 / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.003021/0.6142, allocations: 0.8805 MB / 1.028 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.6142, allocations: 59.41 kB / 1.028 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004112/0.6147, allocations: 369.6 kB / 1.028 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.6147, allocations: 29.7 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6149, allocations: 208.2 kB / 1.028 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/0.6149, allocations: 98.58 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-05/0.615, allocations: 57.92 kB / 1.028 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6152, allocations: 346.8 kB / 1.029 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.6154, allocations: 105.9 kB / 1.029 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.6157, allocations: 163.8 kB / 1.029 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.6162, allocations: 253.1 kB / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.6162, allocations: 0 / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001195/0.6174, allocations: 494.9 kB / 1.03 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.6174, allocations: 11.94 kB / 1.03 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6174, allocations: 0 / 1.03 GB, free: 5.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008083/0.6182, allocations: 188.8 kB / 1.03 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.6184, allocations: 31.98 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/0.6219, allocations: 2.477 MB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.6223, allocations: 43.61 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.6223, allocations: 4 kB / 1.032 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003405/0.6227, allocations: 216.6 kB / 1.033 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002639/0.6229, allocations: 163.3 kB / 1.033 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004677/0.6234, allocations: 261.3 kB / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.6234, allocations: 0 / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.001187/0.6246, allocations: 497.4 kB / 1.033 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.6246, allocations: 4 kB / 1.033 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.6246, allocations: 4 kB / 1.033 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/0.6253, allocations: 176.9 kB / 1.034 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.6255, allocations: 35.97 kB / 1.034 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.6286, allocations: 2.402 MB / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.629, allocations: 35.72 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.629, allocations: 12 kB / 1.036 GB, free: 14.96 MB / 0.795 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.0001244/0.6292, allocations: 192.9 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.6292, allocations: 39.53 kB / 1.036 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.387e-05/0.6293, allocations: 52.09 kB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6293, allocations: 4 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.6293, allocations: 0 / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.6294, allocations: 3.984 kB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005272/0.6299, allocations: 413.6 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6299, allocations: 3.938 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.63, allocations: 27.92 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006666/0.6307, allocations: 172.7 kB / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.6307, allocations: 7.938 kB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003002/0.6337, allocations: 2.376 MB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6338, allocations: 4.031 kB / 1.039 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.6349, allocations: 0.5329 MB / 1.04 GB, free: 10.94 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.6351, allocations: 136.5 kB / 1.04 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.946e-05/0.6351, allocations: 4 kB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.6354, allocations: 19.97 kB / 1.04 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.416e-05/0.6355, allocations: 31.88 kB / 1.04 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.6355, allocations: 8 kB / 1.04 GB, free: 10.72 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003236/0.6358, allocations: 259.2 kB / 1.04 GB, free: 10.47 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6358, allocations: 0 / 1.04 GB, free: 10.47 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000809/0.6366, allocations: 259.6 kB / 1.04 GB, free: 10.22 MB / 0.795 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.0001359/0.6368, allocations: 103.2 kB / 1.04 GB, free: 10.11 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001506/0.6383, allocations: 0.7751 MB / 1.041 GB, free: 9.309 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6383, allocations: 8 kB / 1.041 GB, free: 9.301 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.6389, allocations: 318.4 kB / 1.042 GB, free: 8.977 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.6394, allocations: 89.44 kB / 1.042 GB, free: 8.891 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.6409, allocations: 0.8391 MB / 1.042 GB, free: 8.016 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.6413, allocations: 0.823 MB / 1.043 GB, free: 7.164 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.433e-05/0.6414, allocations: 23.44 kB / 1.043 GB, free: 7.141 MB / 0.795 GB Notification: Performance of SimCode: time 5.61e-07/0.6414, allocations: 0 / 1.043 GB, free: 7.141 MB / 0.795 GB Notification: Performance of Templates: time 0.009364/0.6508, allocations: 6 MB / 1.049 GB, free: 1.164 MB / 0.795 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