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.001159/0.001159, allocations: 111 kB / 16.41 MB, free: 6.461 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.001268/0.001268, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.09 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.402/2.402, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 64.12 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7154/0.7174, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005258/0.7227, allocations: 4.309 MB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004247/0.727, allocations: 2.702 MB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004803/0.7275, allocations: 8 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.7277, allocations: 98.72 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.7294, allocations: 0.5304 MB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007607/0.7302, allocations: 451.3 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.7315, allocations: 1.315 MB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.732, allocations: 390.3 kB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006657/0.7327, allocations: 0.5216 MB / 1.177 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007923/0.7335, allocations: 0.5819 MB / 1.178 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.7337, allocations: 128 kB / 1.178 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005241/0.7342, allocations: 307.8 kB / 1.178 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.7344, allocations: 287.1 kB / 1.179 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005419/0.735, allocations: 0.5443 MB / 1.179 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.7364, allocations: 1.46 MB / 1.181 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7364, allocations: 0 / 1.181 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.564e-06/0.7364, allocations: 0 / 1.181 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.909e-05/0.7365, allocations: 3.938 kB / 1.181 GB, free: 6.191 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.003268/0.7397, allocations: 1.378 MB / 1.182 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.7398, allocations: 12.92 kB / 1.182 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.74, allocations: 108.2 kB / 1.182 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.7414, allocations: 0.722 MB / 1.183 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.902e-05/0.7415, allocations: 66.36 kB / 1.183 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.7416, allocations: 80.12 kB / 1.183 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.7432, allocations: 0.8846 MB / 1.184 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.7432, allocations: 0 / 1.184 GB, free: 2.824 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.883e-05/0.7433, allocations: 35.98 kB / 1.184 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.7433, allocations: 20 kB / 1.184 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.7447, allocations: 0.6861 MB / 1.184 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.7488, allocations: 2.443 MB / 1.187 GB, free: 15.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/0.7529, allocations: 1.255 MB / 1.188 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000742/0.7537, allocations: 419.3 kB / 1.188 GB, free: 13.87 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.759e-05/0.7537, allocations: 23.95 kB / 1.188 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/0.7548, allocations: 0.6797 MB / 1.189 GB, free: 13.14 MB / 0.92 GB Notification: Performance of pre-optimization done (n=108): time 3.396e-06/0.7548, allocations: 0 / 1.189 GB, free: 13.14 MB / 0.92 GB Notification: Performance of matching and sorting (n=108): time 0.002652/0.7575, allocations: 1.278 MB / 1.19 GB, free: 11.86 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.7576, allocations: 148.5 kB / 1.191 GB, free: 11.69 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/0.7582, allocations: 0.5183 MB / 1.191 GB, free: 11.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/0.7583, allocations: 49.7 kB / 1.191 GB, free: 11.1 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.7585, allocations: 305.6 kB / 1.191 GB, free: 10.8 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.7587, allocations: 353.1 kB / 1.192 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.759, allocations: 182.5 kB / 1.192 GB, free: 10.26 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.7592, allocations: 386.6 kB / 1.192 GB, free: 9.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006786/0.7599, allocations: 325.8 kB / 1.193 GB, free: 9.559 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.7606, allocations: 417.2 kB / 1.193 GB, free: 9.137 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.7619, allocations: 0.6882 MB / 1.194 GB, free: 8.438 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.762, allocations: 0 / 1.194 GB, free: 8.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001799/0.7638, allocations: 0.9311 MB / 1.195 GB, free: 7.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.7638, allocations: 6.188 kB / 1.195 GB, free: 7.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.7638, allocations: 0 / 1.195 GB, free: 7.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.7638, allocations: 8 kB / 1.195 GB, free: 7.488 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009374/0.7648, allocations: 207.6 kB / 1.195 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/0.7648, allocations: 4 kB / 1.195 GB, free: 7.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009565/0.7658, allocations: 135.3 kB / 1.195 GB, free: 7.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.738e-05/0.7659, allocations: 43.91 kB / 1.195 GB, free: 7.105 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.0003585/0.7662, allocations: 250.9 kB / 1.195 GB, free: 6.855 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.7664, allocations: 79.48 kB / 1.195 GB, free: 6.777 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.7691, allocations: 1.378 MB / 1.197 GB, free: 5.391 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.7692, allocations: 7.969 kB / 1.197 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.7692, allocations: 0 / 1.197 GB, free: 5.383 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.7696, allocations: 296.1 kB / 1.197 GB, free: 5.074 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.7697, allocations: 39.88 kB / 1.197 GB, free: 5.035 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007938/0.7705, allocations: 67.92 kB / 1.197 GB, free: 4.969 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.7707, allocations: 115.8 kB / 1.197 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002582/0.7733, allocations: 1.509 MB / 1.199 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002218/0.7756, allocations: 1.552 MB / 1.2 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009009/0.7765, allocations: 0.5224 MB / 1.201 GB, free: 1.234 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004701/0.777, allocations: 390.8 kB / 1.201 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of Backend: time 4.91e-07/0.777, allocations: 0 / 1.201 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002326/0.7793, allocations: 0.7983 MB / 1.202 GB, free: 92 kB / 0.92 GB Notification: Performance of SimCode: time 0.002171/0.7815, allocations: 1.71 MB / 1.203 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of Templates: time 0.02342/0.8049, allocations: 13.64 MB / 1.217 GB, free: 0.7812 MB / 0.9356 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