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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001605/0.001605, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.00171/0.00171, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.415/2.415, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8756/0.8771, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.00593/0.8831, allocations: 4.311 MB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00494/0.8881, allocations: 2.71 MB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.8887, allocations: 8 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.8891, allocations: 98.72 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002108/0.8913, allocations: 0.5228 MB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.8923, allocations: 447.4 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.8941, allocations: 1.311 MB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007181/0.8948, allocations: 398.2 kB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009588/0.8958, allocations: 0.5216 MB / 1.177 GB, free: 9.543 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.8968, allocations: 0.5856 MB / 1.178 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003686/0.8972, allocations: 128 kB / 1.178 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00081/0.898, allocations: 311.8 kB / 1.178 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.8984, allocations: 279.1 kB / 1.179 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007646/0.8991, allocations: 0.5443 MB / 1.179 GB, free: 7.707 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.9011, allocations: 1.45 MB / 1.181 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.9011, allocations: 8 kB / 1.181 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9011, allocations: 0 / 1.181 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.489e-05/0.9012, allocations: 0 / 1.181 GB, free: 6.25 MB / 0.9044 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.004014/0.9052, allocations: 1.36 MB / 1.182 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9052, allocations: 8.922 kB / 1.182 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.9056, allocations: 99.72 kB / 1.182 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.9073, allocations: 0.7216 MB / 1.183 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.9074, allocations: 62.38 kB / 1.183 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.9075, allocations: 84.11 kB / 1.183 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.9093, allocations: 0.8807 MB / 1.184 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.9093, allocations: 0 / 1.184 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.9094, allocations: 32 kB / 1.184 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.9095, allocations: 20 kB / 1.184 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.911, allocations: 0.6939 MB / 1.184 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004765/0.9157, allocations: 2.427 MB / 1.187 GB, free: 15.68 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/0.92, allocations: 1.253 MB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008739/0.9209, allocations: 425.5 kB / 1.188 GB, free: 13.97 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/0.921, allocations: 19.97 kB / 1.188 GB, free: 13.95 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.9223, allocations: 0.6827 MB / 1.189 GB, free: 13.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=108): time 4.127e-06/0.9223, allocations: 3.938 kB / 1.189 GB, free: 13.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=108): time 0.002778/0.9251, allocations: 1.278 MB / 1.19 GB, free: 11.96 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.9252, allocations: 140.5 kB / 1.19 GB, free: 11.79 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007682/0.9259, allocations: 0.5184 MB / 1.191 GB, free: 11.26 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.757e-05/0.926, allocations: 53.7 kB / 1.191 GB, free: 11.2 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.9263, allocations: 305.1 kB / 1.191 GB, free: 10.9 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.9267, allocations: 335.2 kB / 1.192 GB, free: 10.57 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003276/0.927, allocations: 186.5 kB / 1.192 GB, free: 10.38 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.9272, allocations: 386.7 kB / 1.192 GB, free: 9.988 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007198/0.9279, allocations: 321.8 kB / 1.192 GB, free: 9.676 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007493/0.9287, allocations: 413.2 kB / 1.193 GB, free: 9.258 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.9301, allocations: 0.6921 MB / 1.194 GB, free: 8.555 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.9301, allocations: 0 / 1.194 GB, free: 8.555 MB / 0.92 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001906/0.932, allocations: 0.9268 MB / 1.194 GB, free: 7.621 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.932, allocations: 4 kB / 1.194 GB, free: 7.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.9321, allocations: 4 kB / 1.194 GB, free: 7.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.9321, allocations: 8 kB / 1.194 GB, free: 7.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009679/0.9331, allocations: 199.7 kB / 1.195 GB, free: 7.41 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/0.9331, allocations: 11.92 kB / 1.195 GB, free: 7.398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.9341, allocations: 131.1 kB / 1.195 GB, free: 7.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.655e-05/0.9342, allocations: 43.95 kB / 1.195 GB, free: 7.227 MB / 0.92 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.0004502/0.9347, allocations: 246.9 kB / 1.195 GB, free: 6.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.9349, allocations: 75.06 kB / 1.195 GB, free: 6.906 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.9377, allocations: 1.374 MB / 1.196 GB, free: 5.523 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.9377, allocations: 16 kB / 1.197 GB, free: 5.508 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.9377, allocations: 0 / 1.197 GB, free: 5.508 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.9377, allocations: 11.91 kB / 1.197 GB, free: 5.496 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.939, allocations: 1.011 MB / 1.198 GB, free: 4.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.9391, allocations: 0 / 1.198 GB, free: 4.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009327/0.94, allocations: 219.6 kB / 1.198 GB, free: 4.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.04e-05/0.94, allocations: 4 kB / 1.198 GB, free: 4.215 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.586e-05/0.9401, allocations: 43.95 kB / 1.198 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.9402, allocations: 8 kB / 1.198 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9402, allocations: 4 kB / 1.198 GB, free: 4.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.9424, allocations: 1.213 MB / 1.199 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/0.9429, allocations: 291.6 kB / 1.199 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.9431, allocations: 39.98 kB / 1.199 GB, free: 2.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008265/0.944, allocations: 63.94 kB / 1.199 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.9442, allocations: 119.8 kB / 1.199 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.189e-05/0.9443, allocations: 47.97 kB / 1.2 GB, free: 2.344 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005079/0.9448, allocations: 390.8 kB / 1.2 GB, free: 1.961 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9448, allocations: 4 kB / 1.2 GB, free: 1.957 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000866/0.9457, allocations: 295.5 kB / 1.2 GB, free: 1.668 MB / 0.92 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.0007442/0.9464, allocations: 335 kB / 1.2 GB, free: 1.375 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.9483, allocations: 0.9197 MB / 1.201 GB, free: 468 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9483, allocations: 8 kB / 1.201 GB, free: 460 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.9493, allocations: 0.5596 MB / 1.202 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.9499, allocations: 76 kB / 1.202 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.953, allocations: 1.65 MB / 1.204 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.9536, allocations: 1.002 MB / 1.205 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.9541, allocations: 135.3 kB / 1.205 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of SimCode: time 6.12e-07/0.9541, allocations: 3.938 kB / 1.205 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of Templates: time 0.02116/0.9753, allocations: 13.23 MB / 1.218 GB, free: 15.8 MB / 0.9512 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