Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proShaLenEas.y|proShaLenSou.y|proShaLenWes.y|proShaLenNor.y",fileNamePrefix="Buildings_10_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_10_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.001576/0.001576, 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.001908/0.001908, allocations: 200.1 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.744/2.744, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001545, allocations: 63.89 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7225, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.006311/0.7288, allocations: 4.325 MB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005213/0.7341, allocations: 2.675 MB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009042/0.735, allocations: 8 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.7355, allocations: 63.28 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.7376, allocations: 453.7 kB / 1.025 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.7387, allocations: 399.6 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.7404, allocations: 1.221 MB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007534/0.7411, allocations: 386.2 kB / 1.027 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009426/0.7421, allocations: 450.1 kB / 1.027 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.7431, allocations: 0.5384 MB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.7435, allocations: 52 kB / 1.028 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.7443, allocations: 219.8 kB / 1.028 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.7445, allocations: 215 kB / 1.028 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005245/0.745, allocations: 477.5 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.7462, allocations: 1.078 MB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7462, allocations: 0 / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.92e-07/0.7462, allocations: 0 / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.7462, allocations: 0 / 1.029 GB, free: 6.203 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003415/0.7497, allocations: 1.356 MB / 1.031 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7497, allocations: 12.03 kB / 1.031 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.75, allocations: 99.72 kB / 1.031 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.7513, allocations: 0.7137 MB / 1.032 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.7514, allocations: 62.36 kB / 1.032 GB, free: 3.867 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.7516, allocations: 84.11 kB / 1.032 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.7532, allocations: 0.8768 MB / 1.033 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.7532, allocations: 4 kB / 1.033 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/0.7533, allocations: 31.98 kB / 1.033 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.7533, allocations: 20 kB / 1.033 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.7548, allocations: 0.69 MB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004601/0.7594, allocations: 2.462 MB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00413/0.7635, allocations: 1.249 MB / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008028/0.7644, allocations: 428.3 kB / 1.037 GB, free: 13.91 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8e-05/0.7645, allocations: 19.97 kB / 1.037 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/0.7658, allocations: 0.6739 MB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=108): time 2.644e-06/0.7658, allocations: 0 / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of matching and sorting (n=108): time 0.002889/0.7687, allocations: 1.286 MB / 1.039 GB, free: 11.9 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.7688, allocations: 144.5 kB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007481/0.7695, allocations: 0.5223 MB / 1.04 GB, free: 11.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/0.7696, allocations: 53.69 kB / 1.04 GB, free: 11.14 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.7699, allocations: 297.1 kB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.7702, allocations: 331.2 kB / 1.041 GB, free: 10.51 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002894/0.7705, allocations: 182.6 kB / 1.041 GB, free: 10.33 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.7707, allocations: 386.7 kB / 1.041 GB, free: 9.941 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/0.7714, allocations: 329.8 kB / 1.041 GB, free: 9.617 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/0.7721, allocations: 401.2 kB / 1.042 GB, free: 9.215 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.7735, allocations: 0.695 MB / 1.042 GB, free: 8.508 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7735, allocations: 4 kB / 1.043 GB, free: 8.504 MB / 0.795 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001941/0.7755, allocations: 0.9229 MB / 1.043 GB, free: 7.574 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.7755, allocations: 8 kB / 1.043 GB, free: 7.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.7755, allocations: 0 / 1.043 GB, free: 7.566 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.808e-05/0.7755, allocations: 4 kB / 1.043 GB, free: 7.562 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/0.7765, allocations: 207.7 kB / 1.044 GB, free: 7.359 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.7766, allocations: 4 kB / 1.044 GB, free: 7.355 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.7776, allocations: 146.9 kB / 1.044 GB, free: 7.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.181e-05/0.7777, allocations: 39.97 kB / 1.044 GB, free: 7.172 MB / 0.795 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.0004633/0.7781, allocations: 246.9 kB / 1.044 GB, free: 6.926 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.7783, allocations: 79.06 kB / 1.044 GB, free: 6.848 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.7811, allocations: 1.373 MB / 1.045 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.7811, allocations: 16 kB / 1.045 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.7812, allocations: 4 kB / 1.045 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.7812, allocations: 11.91 kB / 1.045 GB, free: 5.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.7825, allocations: 1.012 MB / 1.046 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.7825, allocations: 0 / 1.046 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008782/0.7834, allocations: 215.7 kB / 1.047 GB, free: 4.156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.7834, allocations: 4 kB / 1.047 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.7835, allocations: 43.95 kB / 1.047 GB, free: 4.109 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/0.7835, allocations: 4 kB / 1.047 GB, free: 4.105 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.7836, allocations: 7.938 kB / 1.047 GB, free: 4.098 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.7857, allocations: 1.209 MB / 1.048 GB, free: 2.863 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/0.7862, allocations: 291.6 kB / 1.048 GB, free: 2.559 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.7864, allocations: 43.89 kB / 1.048 GB, free: 2.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007609/0.7871, allocations: 59.94 kB / 1.048 GB, free: 2.457 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.7874, allocations: 123.5 kB / 1.048 GB, free: 2.336 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.7875, allocations: 59.95 kB / 1.048 GB, free: 2.277 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004853/0.788, allocations: 386.8 kB / 1.049 GB, free: 1.898 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.788, allocations: 0 / 1.049 GB, free: 1.898 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008513/0.7888, allocations: 299.5 kB / 1.049 GB, free: 1.605 MB / 0.795 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.0007403/0.7896, allocations: 344.3 kB / 1.049 GB, free: 1.301 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.7915, allocations: 0.9066 MB / 1.05 GB, free: 408 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7915, allocations: 3.938 kB / 1.05 GB, free: 404 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009772/0.7925, allocations: 0.5653 MB / 1.051 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.793, allocations: 78.3 kB / 1.051 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/0.7961, allocations: 2.064 MB / 1.053 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.7967, allocations: 1.002 MB / 1.054 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.7972, allocations: 135.3 kB / 1.054 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of SimCode: time 9.71e-07/0.7972, allocations: 4 kB / 1.054 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of Templates: time 0.02057/0.8178, allocations: 13.09 MB / 1.067 GB, free: 15.46 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches