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.001566/0.001566, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001708/0.001708, allocations: 165.2 kB / 23.01 MB, free: 4.598 MB / 14.72 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 1.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] 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 2.882/2.882, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 59.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8726, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005725/0.8783, allocations: 4.842 MB / 1.191 GB, free: 13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1801/1.058, allocations: 132.9 MB / 1.321 GB, free: 12.19 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/1.06, allocations: 23.81 kB / 1.321 GB, free: 12.16 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007016/1.06, allocations: 206 kB / 1.321 GB, free: 11.96 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/1.063, allocations: 0.6405 MB / 1.322 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/1.065, allocations: 0.9053 MB / 1.323 GB, free: 10.42 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001863/1.067, allocations: 1.58 MB / 1.324 GB, free: 8.836 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008548/1.068, allocations: 460.9 kB / 1.325 GB, free: 8.359 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008741/1.068, allocations: 0.5918 MB / 1.325 GB, free: 7.766 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007755/1.069, allocations: 0.5403 MB / 1.326 GB, free: 7.223 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/1.069, allocations: 140 kB / 1.326 GB, free: 7.086 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/1.071, allocations: 0.5192 MB / 1.327 GB, free: 6.566 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/1.071, allocations: 346.9 kB / 1.327 GB, free: 6.227 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005954/1.072, allocations: 0.5288 MB / 1.327 GB, free: 5.695 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/1.074, allocations: 1.926 MB / 1.329 GB, free: 3.766 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.074, allocations: 0 / 1.329 GB, free: 3.766 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.413e-06/1.074, allocations: 0 / 1.329 GB, free: 3.766 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.812e-05/1.074, allocations: 0 / 1.329 GB, free: 3.766 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.00295/1.077, allocations: 1.57 MB / 1.331 GB, free: 2.152 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.077, allocations: 12.03 kB / 1.331 GB, free: 2.141 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009187/1.086, allocations: 0.8935 MB / 1.332 GB, free: 1.246 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/1.088, allocations: 0.7805 MB / 1.332 GB, free: 448 kB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.998e-05/1.088, allocations: 85.89 kB / 1.333 GB, free: 360 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/1.088, allocations: 92 kB / 1.333 GB, free: 268 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/1.093, allocations: 1.606 MB / 1.334 GB, free: 14.53 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/1.093, allocations: 0 / 1.334 GB, free: 14.53 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/1.093, allocations: 44 kB / 1.334 GB, free: 14.48 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.526e-05/1.093, allocations: 28 kB / 1.334 GB, free: 14.46 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00616/1.099, allocations: 1.643 MB / 1.336 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006483/1.105, allocations: 2.795 MB / 1.339 GB, free: 9.965 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007742/1.113, allocations: 1.493 MB / 1.34 GB, free: 8.461 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/1.116, allocations: 0.5327 MB / 1.341 GB, free: 7.93 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.227e-05/1.116, allocations: 28.97 kB / 1.341 GB, free: 7.902 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003263/1.119, allocations: 0.9209 MB / 1.341 GB, free: 6.938 MB / 1.186 GB Notification: Performance of pre-optimization done (n=92): time 2.555e-06/1.119, allocations: 4 kB / 1.341 GB, free: 6.934 MB / 1.186 GB Notification: Performance of matching and sorting (n=92): time 0.009867/1.129, allocations: 1.945 MB / 1.343 GB, free: 4.984 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001321/1.129, allocations: 188.9 kB / 1.344 GB, free: 4.754 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009325/1.13, allocations: 0.6449 MB / 1.344 GB, free: 4.098 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.894e-05/1.13, allocations: 41.7 kB / 1.344 GB, free: 4.051 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/1.131, allocations: 465 kB / 1.345 GB, free: 3.59 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/1.131, allocations: 309.5 kB / 1.345 GB, free: 3.285 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/1.131, allocations: 198.5 kB / 1.345 GB, free: 3.086 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.132, allocations: 390.8 kB / 1.346 GB, free: 2.695 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002666/1.134, allocations: 0.5367 MB / 1.346 GB, free: 2.16 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002877/1.137, allocations: 0.761 MB / 1.347 GB, free: 1.348 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005025/1.142, allocations: 1.065 MB / 1.348 GB, free: 280 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.142, allocations: 4 kB / 1.348 GB, free: 276 kB / 1.186 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006302/1.148, allocations: 1.391 MB / 1.349 GB, free: 14.87 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.148, allocations: 4 kB / 1.349 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/1.148, allocations: 4 kB / 1.349 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006131/1.149, allocations: 84.83 kB / 1.349 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/1.151, allocations: 287.5 kB / 1.35 GB, free: 14.49 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/1.153, allocations: 1.5 MB / 1.351 GB, free: 12.89 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.155, allocations: 180.5 kB / 1.351 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.155, allocations: 47.95 kB / 1.351 GB, free: 12.66 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,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 (109): * Single equations (assignments): 108 * 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.000621/1.156, allocations: 287.6 kB / 1.352 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/1.156, allocations: 91.39 kB / 1.352 GB, free: 12.29 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007463/1.163, allocations: 1.819 MB / 1.353 GB, free: 10.45 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.316e-05/1.163, allocations: 12 kB / 1.353 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.163, allocations: 0 / 1.353 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.163, allocations: 3.984 kB / 1.353 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/1.165, allocations: 0.8234 MB / 1.354 GB, free: 9.582 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.165, allocations: 0 / 1.354 GB, free: 9.582 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/1.167, allocations: 267.6 kB / 1.354 GB, free: 9.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/1.167, allocations: 80.66 kB / 1.355 GB, free: 9.238 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.311e-05/1.167, allocations: 31.95 kB / 1.355 GB, free: 9.207 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/1.169, allocations: 1.528 MB / 1.356 GB, free: 7.566 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.169, allocations: 64 / 1.356 GB, free: 7.566 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00635/1.176, allocations: 1.471 MB / 1.357 GB, free: 6.074 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005879/1.176, allocations: 235 kB / 1.358 GB, free: 5.844 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.176, allocations: 27.89 kB / 1.358 GB, free: 5.816 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/1.178, allocations: 151.8 kB / 1.358 GB, free: 5.668 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/1.178, allocations: 84.84 kB / 1.358 GB, free: 5.582 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/1.178, allocations: 52.08 kB / 1.358 GB, free: 5.531 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006766/1.179, allocations: 475 kB / 1.358 GB, free: 5.07 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/1.179, allocations: 0 / 1.358 GB, free: 5.07 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001082/1.18, allocations: 379 kB / 1.359 GB, free: 4.699 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002177/1.182, allocations: 0.6519 MB / 1.359 GB, free: 4.254 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006256/1.189, allocations: 1.37 MB / 1.361 GB, free: 2.875 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.189, allocations: 0 / 1.361 GB, free: 2.875 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003235/1.192, allocations: 0.7694 MB / 1.362 GB, free: 2.09 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/1.193, allocations: 298.2 kB / 1.362 GB, free: 1.82 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/1.199, allocations: 2.128 MB / 1.364 GB, free: 15.67 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/1.2, allocations: 0.4888 MB / 1.364 GB, free: 15.14 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001295/1.201, allocations: 350.9 kB / 1.365 GB, free: 14.8 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000442/1.201, allocations: 136.4 kB / 1.365 GB, free: 14.66 MB / 1.217 GB Notification: Performance of SimCode: time 8.72e-07/1.201, allocations: 0 / 1.365 GB, free: 14.66 MB / 1.217 GB Notification: Performance of Templates: time 0.03416/1.235, allocations: 18.51 MB / 1.383 GB, free: 12.43 MB / 1.232 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 -s ida -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/jenkins1/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.796909337048419]