Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001582, allocations: 103.4 kB / 16.27 MB, free: 6.414 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.001712/0.001712, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.56/1.56, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 469.4 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 65.83 kB / 0.9088 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3688, allocations: 159.1 MB / 1.064 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.006605/0.3754, allocations: 4.307 MB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005371/0.3808, allocations: 2.702 MB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000908/0.3818, allocations: 8 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000416/0.3823, allocations: 98.77 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.3846, allocations: 0.5215 MB / 1.072 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3857, allocations: 447.3 kB / 1.072 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00184/0.3875, allocations: 1.307 MB / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007194/0.3883, allocations: 390.2 kB / 1.074 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009989/0.3893, allocations: 0.5177 MB / 1.074 GB, free: 4.719 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.3904, allocations: 0.5797 MB / 1.075 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003994/0.3908, allocations: 128 kB / 1.075 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006869/0.3915, allocations: 295.8 kB / 1.075 GB, free: 3.723 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.3918, allocations: 283.1 kB / 1.075 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005399/0.3923, allocations: 0.5444 MB / 1.076 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.3938, allocations: 1.418 MB / 1.077 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3938, allocations: 4 kB / 1.077 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3938, allocations: 0 / 1.077 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.3938, allocations: 0 / 1.077 GB, free: 1.473 MB / 0.8419 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.002952/0.3968, allocations: 1.348 MB / 1.079 GB, free: 68 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3968, allocations: 12.62 kB / 1.079 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6783/1.075, allocations: 93.52 kB / 1.079 GB, free: 22.13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/1.077, allocations: 0.7204 MB / 1.08 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.364e-05/1.077, allocations: 62.8 kB / 1.08 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/1.077, allocations: 81.8 kB / 1.08 GB, free: 21.9 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/1.079, allocations: 0.8781 MB / 1.081 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/1.079, allocations: 0 / 1.081 GB, free: 21.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/1.079, allocations: 37 kB / 1.081 GB, free: 21.7 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/1.079, allocations: 23.81 kB / 1.081 GB, free: 21.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/1.081, allocations: 0.6869 MB / 1.081 GB, free: 21.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004419/1.085, allocations: 2.451 MB / 1.084 GB, free: 20.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/1.089, allocations: 1.249 MB / 1.085 GB, free: 19.66 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008458/1.09, allocations: 431.9 kB / 1.085 GB, free: 19.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-05/1.09, allocations: 18.42 kB / 1.085 GB, free: 19.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/1.092, allocations: 0.6756 MB / 1.086 GB, free: 19.2 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=108): time 4.108e-06/1.092, allocations: 5.422 kB / 1.086 GB, free: 19.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=108): time 0.002939/1.095, allocations: 1.28 MB / 1.087 GB, free: 18.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/1.095, allocations: 142.3 kB / 1.087 GB, free: 18.54 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/1.095, allocations: 0.518 MB / 1.088 GB, free: 18.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/1.095, allocations: 48.83 kB / 1.088 GB, free: 18.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/1.096, allocations: 306.2 kB / 1.088 GB, free: 18 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/1.096, allocations: 333.1 kB / 1.089 GB, free: 17.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/1.096, allocations: 184.4 kB / 1.089 GB, free: 17.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.096, allocations: 382.1 kB / 1.089 GB, free: 17.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007054/1.097, allocations: 326.6 kB / 1.089 GB, free: 17.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000771/1.098, allocations: 409.5 kB / 1.09 GB, free: 17.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/1.099, allocations: 0.6953 MB / 1.09 GB, free: 16.68 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.099, allocations: 4.578 kB / 1.09 GB, free: 16.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002024/1.101, allocations: 0.9199 MB / 1.091 GB, free: 16.29 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/1.101, allocations: 9.062 kB / 1.091 GB, free: 16.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.101, allocations: 1.891 kB / 1.091 GB, free: 16.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/1.101, allocations: 5.219 kB / 1.091 GB, free: 16.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.102, allocations: 203.2 kB / 1.092 GB, free: 16.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/1.102, allocations: 5.469 kB / 1.092 GB, free: 16.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009922/1.103, allocations: 137.7 kB / 1.092 GB, free: 16.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/1.104, allocations: 44.55 kB / 1.092 GB, free: 16.2 MB / 0.8419 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.0004032/1.104, allocations: 250.7 kB / 1.092 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.104, allocations: 77.88 kB / 1.092 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/1.107, allocations: 1.365 MB / 1.093 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/1.107, allocations: 14.91 kB / 1.093 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/1.107, allocations: 1.75 kB / 1.093 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/1.107, allocations: 8.422 kB / 1.093 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/1.109, allocations: 1.014 MB / 1.094 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.109, allocations: 3.797 kB / 1.094 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009082/1.109, allocations: 209.6 kB / 1.095 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/1.11, allocations: 10.75 kB / 1.095 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-05/1.11, allocations: 40.34 kB / 1.095 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/1.11, allocations: 9.812 kB / 1.095 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.11, allocations: 2.406 kB / 1.095 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/1.112, allocations: 1.209 MB / 1.096 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004006/1.112, allocations: 294.8 kB / 1.096 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/1.112, allocations: 39.75 kB / 1.096 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/1.113, allocations: 66.03 kB / 1.096 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/1.113, allocations: 120 kB / 1.096 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.114, allocations: 55.02 kB / 1.096 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005215/1.114, allocations: 392.9 kB / 1.097 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/1.114, allocations: 0 / 1.097 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009706/1.115, allocations: 304.5 kB / 1.097 GB, free: 13.77 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition12,$whenCondition11,$whenCondition10,proShaLenEas.locTim.tNext,proShaLenEas.eqnTim.tNext,proShaLenEas.decAng.tNext,$whenCondition9,$whenCondition8,$whenCondition7,proShaLenSou.locTim.tNext,proShaLenSou.eqnTim.tNext,proShaLenSou.decAng.tNext,$whenCondition6,$whenCondition5,$whenCondition4,proShaLenWes.locTim.tNext,proShaLenWes.eqnTim.tNext,proShaLenWes.decAng.tNext,$whenCondition3,$whenCondition2,$whenCondition1,proShaLenNor.locTim.tNext,proShaLenNor.eqnTim.tNext,proShaLenNor.decAng.tNext) * Number of discrete states: 12 (proShaLenNor.locTim.tNext,proShaLenNor.eqnTim.tNext,proShaLenNor.decAng.tNext,proShaLenWes.locTim.tNext,proShaLenWes.eqnTim.tNext,proShaLenWes.decAng.tNext,proShaLenSou.locTim.tNext,proShaLenSou.eqnTim.tNext,proShaLenSou.decAng.tNext,proShaLenEas.locTim.tNext,proShaLenEas.eqnTim.tNext,proShaLenEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007199/1.116, allocations: 338.1 kB / 1.097 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002307/1.118, allocations: 0.9825 MB / 1.098 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.118, allocations: 0 / 1.098 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.119, allocations: 0.5639 MB / 1.099 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/1.12, allocations: 82.55 kB / 1.099 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/1.123, allocations: 1.665 MB / 1.101 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/1.123, allocations: 1.004 MB / 1.102 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004644/1.124, allocations: 136.9 kB / 1.102 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of SimCode: time 5.82e-07/1.124, allocations: 0.9062 kB / 1.102 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of Templates: time 0.03183/1.156, allocations: 13.1 MB / 1.114 GB, free: 9.945 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches