Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9037/0.9037, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.772/1.772, allocations: 389 MB / 0.6338 GB, free: 12.73 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.317e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005727/0.00576, allocations: 4.833 MB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6224/0.6281, allocations: 132.9 MB / 1.135 GB, free: 14.57 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008922/0.629, allocations: 25.09 kB / 1.135 GB, free: 14.56 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006279/0.6296, allocations: 219.1 kB / 1.136 GB, free: 14.41 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.6315, allocations: 0.642 MB / 1.136 GB, free: 14.03 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.6335, allocations: 0.9268 MB / 1.137 GB, free: 13.55 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002428/0.6359, allocations: 1.658 MB / 1.139 GB, free: 12.66 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009173/0.6368, allocations: 461.3 kB / 1.139 GB, free: 12.41 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.6384, allocations: 0.874 MB / 1.14 GB, free: 12 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007322/0.6392, allocations: 488.8 kB / 1.141 GB, free: 11.81 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/0.6394, allocations: 144.4 kB / 1.141 GB, free: 11.81 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.6406, allocations: 0.5345 MB / 1.141 GB, free: 11.7 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.6409, allocations: 362.7 kB / 1.142 GB, free: 11.46 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005631/0.6414, allocations: 463.2 kB / 1.142 GB, free: 11.23 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.6443, allocations: 2.048 MB / 1.144 GB, free: 10.38 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6443, allocations: 1.219 kB / 1.144 GB, free: 10.38 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6443, allocations: 0 / 1.144 GB, free: 10.38 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.059e-05/0.6443, allocations: 0 / 1.144 GB, free: 10.38 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.002886/0.6472, allocations: 1.592 MB / 1.146 GB, free: 9.344 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.6472, allocations: 10.02 kB / 1.146 GB, free: 9.344 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004507/0.6517, allocations: 0.8936 MB / 1.146 GB, free: 9.215 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001785/0.6535, allocations: 0.794 MB / 1.147 GB, free: 8.723 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.555e-05/0.6536, allocations: 84.28 kB / 1.147 GB, free: 8.684 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.6537, allocations: 111 kB / 1.147 GB, free: 8.645 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.6568, allocations: 1.637 MB / 1.149 GB, free: 7.777 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.6568, allocations: 1.312 kB / 1.149 GB, free: 7.777 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/0.6569, allocations: 43.78 kB / 1.149 GB, free: 7.746 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.6569, allocations: 24.94 kB / 1.149 GB, free: 7.746 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003481/0.6604, allocations: 1.647 MB / 1.151 GB, free: 7.371 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004776/0.6652, allocations: 2.866 MB / 1.153 GB, free: 5.746 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004268/0.6694, allocations: 1.544 MB / 1.155 GB, free: 5.305 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.6708, allocations: 0.5702 MB / 1.156 GB, free: 5.121 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.132e-05/0.6709, allocations: 30.06 kB / 1.156 GB, free: 5.117 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001755/0.6726, allocations: 0.948 MB / 1.156 GB, free: 4.719 MB / 1.01 GB Notification: Performance of pre-optimization done (n=102): time 3.477e-06/0.6726, allocations: 0 / 1.156 GB, free: 4.719 MB / 1.01 GB Notification: Performance of matching and sorting (n=102): time 0.005196/0.6778, allocations: 1.985 MB / 1.158 GB, free: 4.141 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.672e-05/0.6779, allocations: 205.5 kB / 1.159 GB, free: 3.914 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000847/0.6788, allocations: 0.6464 MB / 1.159 GB, free: 3.625 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.6789, allocations: 57.27 kB / 1.159 GB, free: 3.574 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/0.6792, allocations: 457.6 kB / 1.16 GB, free: 3.223 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.6795, allocations: 338 kB / 1.16 GB, free: 2.953 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.6798, allocations: 221.8 kB / 1.16 GB, free: 2.859 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6799, allocations: 398.2 kB / 1.161 GB, free: 2.508 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.6813, allocations: 0.5657 MB / 1.161 GB, free: 2.348 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/0.6828, allocations: 0.8002 MB / 1.162 GB, free: 1.957 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.6855, allocations: 1.122 MB / 1.163 GB, free: 1.559 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6855, allocations: 0 / 1.163 GB, free: 1.559 MB / 1.01 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003673/0.6891, allocations: 1.486 MB / 1.165 GB, free: 1.07 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.529e-05/0.6892, allocations: 5.094 kB / 1.165 GB, free: 1.07 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.6892, allocations: 2.016 kB / 1.165 GB, free: 1.07 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.6897, allocations: 79.69 kB / 1.165 GB, free: 1.055 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.6907, allocations: 297.9 kB / 1.165 GB, free: 1.023 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.6923, allocations: 1.503 MB / 1.166 GB, free: 15.66 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.6935, allocations: 187.2 kB / 1.167 GB, free: 15.6 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.631e-05/0.6936, allocations: 51.91 kB / 1.167 GB, free: 15.59 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.k,$PRE.incAng.decAng.k,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 124 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006732/0.6943, allocations: 301.8 kB / 1.167 GB, free: 15.37 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.6945, allocations: 100.1 kB / 1.167 GB, free: 15.31 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/0.6986, allocations: 1.841 MB / 1.169 GB, free: 14.66 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.6987, allocations: 13.83 kB / 1.169 GB, free: 14.66 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.6987, allocations: 1.094 kB / 1.169 GB, free: 14.66 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.6987, allocations: 5.625 kB / 1.169 GB, free: 14.66 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005477/0.7041, allocations: 2.718 MB / 1.171 GB, free: 13.46 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.7042, allocations: 3.938 kB / 1.171 GB, free: 13.46 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008456/0.705, allocations: 272.9 kB / 1.172 GB, free: 13.43 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002453/0.7052, allocations: 68.16 kB / 1.172 GB, free: 13.41 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.7053, allocations: 38.7 kB / 1.172 GB, free: 13.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.7066, allocations: 1.523 MB / 1.173 GB, free: 12.01 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.7066, allocations: 9.062 kB / 1.173 GB, free: 12 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.7102, allocations: 1.578 MB / 1.175 GB, free: 11.43 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005524/0.7107, allocations: 241.9 kB / 1.175 GB, free: 11.3 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.7109, allocations: 24.44 kB / 1.175 GB, free: 11.29 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.7117, allocations: 153.1 kB / 1.175 GB, free: 11.26 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.7118, allocations: 92.48 kB / 1.175 GB, free: 11.24 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.7119, allocations: 47.83 kB / 1.175 GB, free: 11.23 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005554/0.7125, allocations: 471.5 kB / 1.176 GB, free: 11.03 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.7125, allocations: 0 / 1.176 GB, free: 11.03 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001217/0.7137, allocations: 398.9 kB / 1.176 GB, free: 10.92 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,incAng.decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,incAng.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/0.7149, allocations: 0.6709 MB / 1.177 GB, free: 10.65 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.003515/0.7185, allocations: 1.423 MB / 1.178 GB, free: 10.19 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.7185, allocations: 1.125 kB / 1.178 GB, free: 10.19 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.7202, allocations: 0.7852 MB / 1.179 GB, free: 9.902 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.7213, allocations: 296 kB / 1.179 GB, free: 9.809 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/0.7253, allocations: 2.187 MB / 1.181 GB, free: 8.746 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.7257, allocations: 0.4909 MB / 1.182 GB, free: 8.602 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006003/0.7263, allocations: 154.3 kB / 1.182 GB, free: 8.578 MB / 1.026 GB Notification: Performance of SimCode: time 1.934e-06/0.7263, allocations: 0 / 1.182 GB, free: 8.578 MB / 1.026 GB Notification: Performance of Templates: time 0.02954/0.7559, allocations: 23.28 MB / 1.205 GB, free: 10.84 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.127262936905026]