Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001163/0.001163, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001186/0.001186, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6655 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.91 kB / 0.9515 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6936/0.6949, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.004483/0.6994, allocations: 4.3 MB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003983/0.7034, allocations: 2.701 MB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003858/0.7038, allocations: 8.594 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.704, allocations: 103.3 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.7056, allocations: 0.5143 MB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007908/0.7064, allocations: 448.8 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001446/0.7078, allocations: 1.313 MB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006093/0.7084, allocations: 400.3 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007753/0.7092, allocations: 0.5182 MB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007952/0.71, allocations: 0.5858 MB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/0.7102, allocations: 125.8 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.7109, allocations: 317.8 kB / 1.1 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.7111, allocations: 285.3 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005262/0.7116, allocations: 0.5379 MB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.7133, allocations: 1.457 MB / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7133, allocations: 0.5938 kB / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.344e-06/0.7134, allocations: 0.5625 kB / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.7134, allocations: 0 / 1.102 GB, free: 13.18 MB / 0.8731 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.003377/0.7168, allocations: 1.352 MB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.7168, allocations: 12.25 kB / 1.103 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.717, allocations: 96.81 kB / 1.103 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.7185, allocations: 0.7299 MB / 1.104 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.36e-05/0.7186, allocations: 61.59 kB / 1.104 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.7187, allocations: 80.52 kB / 1.104 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.7205, allocations: 0.8801 MB / 1.105 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.7206, allocations: 1.281 kB / 1.105 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-05/0.7207, allocations: 36.48 kB / 1.105 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.7207, allocations: 19.72 kB / 1.105 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.7222, allocations: 0.6878 MB / 1.106 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.7267, allocations: 2.44 MB / 1.108 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/0.7308, allocations: 1.24 MB / 1.109 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.7316, allocations: 423.3 kB / 1.11 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.237e-05/0.7316, allocations: 38.72 kB / 1.11 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.7329, allocations: 0.6688 MB / 1.11 GB, free: 8.711 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=108): time 3.146e-06/0.7329, allocations: 5.375 kB / 1.11 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of matching and sorting (n=108): time 0.002764/0.7357, allocations: 1.288 MB / 1.112 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/0.7357, allocations: 140 kB / 1.112 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/0.7366, allocations: 0.5175 MB / 1.112 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/0.7366, allocations: 49.42 kB / 1.112 GB, free: 7.754 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.7369, allocations: 301.6 kB / 1.113 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002764/0.7371, allocations: 341.5 kB / 1.113 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.7374, allocations: 188.5 kB / 1.113 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.7376, allocations: 385.6 kB / 1.114 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006699/0.7383, allocations: 322.7 kB / 1.114 GB, free: 6.684 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007297/0.739, allocations: 406.3 kB / 1.114 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.7404, allocations: 0.6986 MB / 1.115 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7404, allocations: 0 / 1.115 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001796/0.7422, allocations: 0.9123 MB / 1.116 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7422, allocations: 5.406 kB / 1.116 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.7422, allocations: 1.438 kB / 1.116 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.7423, allocations: 5.922 kB / 1.116 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/0.7432, allocations: 203.4 kB / 1.116 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.7432, allocations: 8.969 kB / 1.116 GB, free: 5.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009821/0.7442, allocations: 129.9 kB / 1.116 GB, free: 5.707 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.967e-05/0.7443, allocations: 47.91 kB / 1.116 GB, free: 5.695 MB / 0.8731 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.0003775/0.7447, allocations: 253.6 kB / 1.116 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.7449, allocations: 76.3 kB / 1.116 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.7475, allocations: 1.367 MB / 1.118 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.7476, allocations: 8.141 kB / 1.118 GB, free: 4.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.7476, allocations: 5.594 kB / 1.118 GB, free: 4.906 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.748, allocations: 291.2 kB / 1.118 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.7482, allocations: 38.91 kB / 1.118 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.7489, allocations: 65.08 kB / 1.118 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/0.7492, allocations: 124.8 kB / 1.118 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002531/0.7517, allocations: 1.509 MB / 1.12 GB, free: 3.855 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002239/0.754, allocations: 1.547 MB / 1.121 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000904/0.7549, allocations: 0.5245 MB / 1.122 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005633/0.7555, allocations: 391.5 kB / 1.122 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of Backend: time 8.72e-07/0.7555, allocations: 0 / 1.122 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003115/0.7586, allocations: 0.7921 MB / 1.123 GB, free: 2.281 MB / 0.8731 GB Notification: Performance of SimCode: time 0.002797/0.7614, allocations: 1.679 MB / 1.125 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of Templates: time 0.02689/0.7883, allocations: 13.64 MB / 1.138 GB, free: 14.39 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches