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.001352/0.001352, allocations: 92 kB / 16.02 MB, free: 80 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.001694/0.001694, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.494/1.494, allocations: 223.3 MB / 241 MB, free: 5.293 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.707/2.707, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.000443, allocations: 8 kB / 0.8735 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8553/0.8558, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005819/0.8617, allocations: 3.898 MB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005827/0.8675, allocations: 2.648 MB / 1.03 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.8686, allocations: 8 kB / 1.03 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.869, allocations: 59.34 kB / 1.03 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.8717, allocations: 455.1 kB / 1.031 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.873, allocations: 395.6 kB / 1.031 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.875, allocations: 1.221 MB / 1.032 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007738/0.8758, allocations: 370.3 kB / 1.032 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.8768, allocations: 406.1 kB / 1.033 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.8782, allocations: 493.7 kB / 1.033 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003626/0.8786, allocations: 32 kB / 1.033 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008878/0.8794, allocations: 207.8 kB / 1.034 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.8798, allocations: 183.1 kB / 1.034 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.8807, allocations: 459.2 kB / 1.034 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.8822, allocations: 1.05 MB / 1.035 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.8822, allocations: 0 / 1.035 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.577e-06/0.8823, allocations: 0 / 1.035 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.006e-05/0.8823, allocations: 0 / 1.035 GB, free: 4.012 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.003892/0.8862, allocations: 1.188 MB / 1.036 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.8863, allocations: 11.98 kB / 1.036 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000467/0.8868, allocations: 103.7 kB / 1.036 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.8887, allocations: 0.7098 MB / 1.037 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.8888, allocations: 70.36 kB / 1.037 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.889, allocations: 84.12 kB / 1.037 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.8911, allocations: 0.8768 MB / 1.038 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.8911, allocations: 0 / 1.038 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.546e-05/0.8912, allocations: 35.98 kB / 1.038 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.8912, allocations: 20 kB / 1.038 GB, free: 0.8008 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.8928, allocations: 0.69 MB / 1.039 GB, free: 112 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004885/0.8977, allocations: 2.481 MB / 1.041 GB, free: 13.56 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.9016, allocations: 1.242 MB / 1.043 GB, free: 12.29 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007415/0.9024, allocations: 423.2 kB / 1.043 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.131e-05/0.9025, allocations: 27.95 kB / 1.043 GB, free: 11.84 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.9036, allocations: 0.6718 MB / 1.044 GB, free: 11.14 MB / 0.795 GB Notification: Performance of pre-optimization done (n=108): time 2.645e-06/0.9037, allocations: 0 / 1.044 GB, free: 11.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=108): time 0.002676/0.9063, allocations: 1.284 MB / 1.045 GB, free: 9.852 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.9065, allocations: 152.4 kB / 1.045 GB, free: 9.672 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.9072, allocations: 0.5184 MB / 1.046 GB, free: 9.145 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.656e-05/0.9073, allocations: 49.7 kB / 1.046 GB, free: 9.09 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.9075, allocations: 301.1 kB / 1.046 GB, free: 8.789 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.9078, allocations: 331.2 kB / 1.046 GB, free: 8.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.908, allocations: 85.67 kB / 1.046 GB, free: 8.371 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.9082, allocations: 382.7 kB / 1.047 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006466/0.9088, allocations: 321.8 kB / 1.047 GB, free: 7.672 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.9095, allocations: 417.2 kB / 1.047 GB, free: 7.254 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.9108, allocations: 0.6911 MB / 1.048 GB, free: 6.551 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9108, allocations: 0 / 1.048 GB, free: 6.551 MB / 0.795 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001692/0.9125, allocations: 0.919 MB / 1.049 GB, free: 5.625 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.616e-05/0.9126, allocations: 11.98 kB / 1.049 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.9126, allocations: 0 / 1.049 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.9126, allocations: 8 kB / 1.049 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008869/0.9135, allocations: 199.7 kB / 1.049 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.9135, allocations: 7.984 kB / 1.049 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009592/0.9145, allocations: 147.1 kB / 1.049 GB, free: 5.258 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/0.9146, allocations: 43.95 kB / 1.049 GB, free: 5.215 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.0004/0.915, allocations: 252.4 kB / 1.05 GB, free: 4.965 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.9151, allocations: 75.06 kB / 1.05 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.9178, allocations: 1.377 MB / 1.051 GB, free: 3.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.9178, allocations: 12 kB / 1.051 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.9178, allocations: 8 kB / 1.051 GB, free: 3.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.9178, allocations: 15.91 kB / 1.051 GB, free: 3.465 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.919, allocations: 1.015 MB / 1.052 GB, free: 2.398 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.919, allocations: 0 / 1.052 GB, free: 2.398 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008406/0.9199, allocations: 215.6 kB / 1.052 GB, free: 2.188 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.9199, allocations: 4 kB / 1.052 GB, free: 2.184 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.809e-05/0.92, allocations: 39.97 kB / 1.052 GB, free: 2.145 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.92, allocations: 7.984 kB / 1.052 GB, free: 2.137 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.92, allocations: 4 kB / 1.052 GB, free: 2.133 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.922, allocations: 1.206 MB / 1.053 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.9224, allocations: 311.5 kB / 1.054 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.9226, allocations: 35.98 kB / 1.054 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.9233, allocations: 79.94 kB / 1.054 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/0.9235, allocations: 115.5 kB / 1.054 GB, free: 360 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.466e-05/0.9236, allocations: 63.94 kB / 1.054 GB, free: 296 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004927/0.9241, allocations: 386.8 kB / 1.054 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9242, allocations: 4 kB / 1.054 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007633/0.9249, allocations: 299.4 kB / 1.055 GB, free: 15.61 MB / 0.8106 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.0007623/0.9257, allocations: 335.3 kB / 1.055 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.9273, allocations: 0.9067 MB / 1.056 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9273, allocations: 11.94 kB / 1.056 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000927/0.9283, allocations: 0.5613 MB / 1.056 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.9288, allocations: 85.48 kB / 1.057 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003006/0.9318, allocations: 2.064 MB / 1.059 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.9324, allocations: 1.006 MB / 1.06 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.9328, allocations: 135.3 kB / 1.06 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.9328, allocations: 0 / 1.06 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of Templates: time 0.01847/0.9512, allocations: 12.97 MB / 1.072 GB, free: 13.59 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