Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.001783/0.001783, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002025/0.002025, allocations: 214 kB / 23 MB, free: 4.969 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.233/3.233, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") [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.002072/0.002072, allocations: 71.62 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3566, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005768/0.3624, allocations: 3.87 MB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005304/0.3677, allocations: 2.785 MB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000485/0.3681, allocations: 8 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.3684, allocations: 98.72 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.3701, allocations: 0.53 MB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.371, allocations: 451.3 kB / 1.335 GB, free: 9.258 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00144/0.3724, allocations: 1.307 MB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/0.3729, allocations: 286.7 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007931/0.3737, allocations: 0.5334 MB / 1.337 GB, free: 7.113 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008045/0.3745, allocations: 0.5654 MB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.3747, allocations: 128 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007142/0.3754, allocations: 335.8 kB / 1.338 GB, free: 6.094 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.3757, allocations: 287.1 kB / 1.338 GB, free: 5.812 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0005108/0.3762, allocations: 454 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.3779, allocations: 1.479 MB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3779, allocations: 0 / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3779, allocations: 0 / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.3779, allocations: 0 / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003552/0.3815, allocations: 1.314 MB / 1.341 GB, free: 2.523 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3815, allocations: 12.03 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002755/0.3843, allocations: 256.1 kB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.3858, allocations: 0.6126 MB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-05/0.3859, allocations: 58.38 kB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.3861, allocations: 84.12 kB / 1.342 GB, free: 1.484 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.3878, allocations: 0.8807 MB / 1.343 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3878, allocations: 7.938 kB / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/0.3879, allocations: 32 kB / 1.343 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.3879, allocations: 20 kB / 1.343 GB, free: 0.5273 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.3894, allocations: 0.6861 MB / 1.344 GB, free: 15.84 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.3938, allocations: 2.031 MB / 1.346 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.3982, allocations: 1.168 MB / 1.347 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007906/0.399, allocations: 383.2 kB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.79e-05/0.3991, allocations: 23.84 kB / 1.347 GB, free: 12.15 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.4003, allocations: 0.6673 MB / 1.348 GB, free: 11.46 MB / 1.045 GB Notification: Performance of pre-optimization done (n=108): time 3.347e-06/0.4003, allocations: 0 / 1.348 GB, free: 11.46 MB / 1.045 GB Notification: Performance of matching and sorting (n=108): time 0.002972/0.4033, allocations: 1.288 MB / 1.349 GB, free: 10.17 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/0.4034, allocations: 144.5 kB / 1.349 GB, free: 10 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.4041, allocations: 477.9 kB / 1.35 GB, free: 9.527 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/0.4041, allocations: 45.7 kB / 1.35 GB, free: 9.477 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.4044, allocations: 309.6 kB / 1.35 GB, free: 9.168 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.4047, allocations: 349.1 kB / 1.35 GB, free: 8.824 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.4051, allocations: 186.5 kB / 1.351 GB, free: 8.633 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4053, allocations: 382.7 kB / 1.351 GB, free: 8.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.406, allocations: 325.9 kB / 1.351 GB, free: 7.934 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000796/0.4068, allocations: 409.2 kB / 1.352 GB, free: 7.523 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4083, allocations: 0.695 MB / 1.352 GB, free: 6.816 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4083, allocations: 0 / 1.352 GB, free: 6.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001998/0.4103, allocations: 0.9194 MB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4103, allocations: 8 kB / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4103, allocations: 0 / 1.353 GB, free: 5.883 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.4103, allocations: 8 kB / 1.353 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.4114, allocations: 211.6 kB / 1.353 GB, free: 5.668 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.4114, allocations: 8 kB / 1.353 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/0.4124, allocations: 127.3 kB / 1.354 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.4125, allocations: 47.95 kB / 1.354 GB, free: 5.488 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 40 (proShaLenEas.solAzi.outsidePolarCircle,proShaLenEas.decAng.tNext,$PRE.proShaLenEas.decAng.tNext,proShaLenEas.eqnTim.tNext,$PRE.proShaLenEas.eqnTim.tNext,proShaLenEas.locTim.tNext,$PRE.proShaLenEas.locTim.tNext,$whenCondition10,$whenCondition11,$whenCondition12,proShaLenSou.solAzi.outsidePolarCircle,proShaLenSou.decAng.tNext,$PRE.proShaLenSou.decAng.tNext,proShaLenSou.eqnTim.tNext,$PRE.proShaLenSou.eqnTim.tNext,proShaLenSou.locTim.tNext,$PRE.proShaLenSou.locTim.tNext,$whenCondition7,$whenCondition8,$whenCondition9,proShaLenWes.solAzi.outsidePolarCircle,proShaLenWes.decAng.tNext,$PRE.proShaLenWes.decAng.tNext,proShaLenWes.eqnTim.tNext,$PRE.proShaLenWes.eqnTim.tNext,proShaLenWes.locTim.tNext,$PRE.proShaLenWes.locTim.tNext,$whenCondition4,$whenCondition5,$whenCondition6,proShaLenNor.solAzi.outsidePolarCircle,proShaLenNor.decAng.tNext,$PRE.proShaLenNor.decAng.tNext,proShaLenNor.eqnTim.tNext,$PRE.proShaLenNor.eqnTim.tNext,proShaLenNor.locTim.tNext,$PRE.proShaLenNor.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004297/0.4129, allocations: 250.8 kB / 1.354 GB, free: 5.23 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.4131, allocations: 83.47 kB / 1.354 GB, free: 5.148 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/0.4161, allocations: 1.357 MB / 1.355 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/0.4161, allocations: 11.97 kB / 1.355 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.4161, allocations: 0 / 1.355 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/0.4166, allocations: 218.9 kB / 1.355 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.4168, allocations: 39.92 kB / 1.355 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007929/0.4175, allocations: 67.94 kB / 1.356 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.4178, allocations: 119.8 kB / 1.356 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002775/0.4205, allocations: 1.505 MB / 1.357 GB, free: 1.816 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0025/0.423, allocations: 1.549 MB / 1.359 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009478/0.424, allocations: 479.2 kB / 1.359 GB, free: 15.77 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004728/0.4245, allocations: 358.9 kB / 1.359 GB, free: 15.43 MB / 1.061 GB Notification: Performance of Backend: time 6.32e-07/0.4245, allocations: 0 / 1.359 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002463/0.4269, allocations: 0.7774 MB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of SimCode: time 0.002314/0.4292, allocations: 1.704 MB / 1.362 GB, free: 12.93 MB / 1.061 GB Notification: Performance of Templates: time 0.02701/0.4563, allocations: 15.49 MB / 1.377 GB, free: 13.63 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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.400830667000264]