Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001897/0.001897, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.001794/0.001794, allocations: 190.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.467/2.467, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.418/3.418, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 59.91 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.776, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength): time 0.005871/0.7819, allocations: 4.3 MB / 1.213 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005557/0.7875, allocations: 2.71 MB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008554/0.7884, allocations: 8 kB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.7888, allocations: 94.78 kB / 1.215 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.791, allocations: 0.5193 MB / 1.216 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000997/0.7921, allocations: 447.3 kB / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001588/0.7937, allocations: 1.315 MB / 1.218 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000629/0.7943, allocations: 394.3 kB / 1.218 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008345/0.7951, allocations: 0.5216 MB / 1.218 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009852/0.7961, allocations: 0.5811 MB / 1.219 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002891/0.7964, allocations: 124 kB / 1.219 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.7971, allocations: 319.8 kB / 1.219 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/0.7975, allocations: 279.1 kB / 1.22 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006462/0.7981, allocations: 0.5482 MB / 1.22 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.8, allocations: 1.454 MB / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8, allocations: 0 / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8001, allocations: 0 / 1.222 GB, free: 8 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.713e-05/0.8001, allocations: 0 / 1.222 GB, free: 8 kB / 0.9356 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.003949/0.8041, allocations: 1.356 MB / 1.223 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/0.8041, allocations: 16.02 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.8045, allocations: 99.72 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.8061, allocations: 0.7155 MB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.8062, allocations: 70.36 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.8064, allocations: 76.12 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.8081, allocations: 0.8846 MB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.8081, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.8082, allocations: 32 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.8082, allocations: 16 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.8096, allocations: 0.6939 MB / 1.225 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004385/0.814, allocations: 2.434 MB / 1.228 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/0.8186, allocations: 1.246 MB / 1.229 GB, free: 8.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008074/0.8194, allocations: 419.3 kB / 1.229 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.021e-05/0.8195, allocations: 31.81 kB / 1.23 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.8207, allocations: 0.6732 MB / 1.23 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=108): time 3.617e-06/0.8207, allocations: 0 / 1.23 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of matching and sorting (n=108): time 0.002759/0.8235, allocations: 1.283 MB / 1.231 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.8236, allocations: 144.4 kB / 1.232 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006543/0.8242, allocations: 0.5223 MB / 1.232 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.741e-05/0.8243, allocations: 49.7 kB / 1.232 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.8245, allocations: 297.1 kB / 1.232 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.8248, allocations: 335.2 kB / 1.233 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.8251, allocations: 190.5 kB / 1.233 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8253, allocations: 386.7 kB / 1.233 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.826, allocations: 325.8 kB / 1.234 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007701/0.8268, allocations: 405.2 kB / 1.234 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.8282, allocations: 0.6989 MB / 1.235 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.8282, allocations: 4 kB / 1.235 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001941/0.8301, allocations: 0.9107 MB / 1.236 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.8302, allocations: 8 kB / 1.236 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.8302, allocations: 0 / 1.236 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.8302, allocations: 7.938 kB / 1.236 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.8314, allocations: 207.7 kB / 1.236 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.8314, allocations: 11.88 kB / 1.236 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009606/0.8324, allocations: 131.1 kB / 1.236 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.07e-05/0.8325, allocations: 47.89 kB / 1.236 GB, free: 0.9922 MB / 0.9512 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.0003641/0.8328, allocations: 246.9 kB / 1.236 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.833, allocations: 87.05 kB / 1.236 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.8358, allocations: 1.351 MB / 1.238 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.8358, allocations: 15.91 kB / 1.238 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.8358, allocations: 4 kB / 1.238 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.8363, allocations: 291.6 kB / 1.238 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.8364, allocations: 43.86 kB / 1.238 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/0.8373, allocations: 67.94 kB / 1.238 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.8375, allocations: 111.8 kB / 1.238 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002617/0.8401, allocations: 1.504 MB / 1.24 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002263/0.8424, allocations: 1.553 MB / 1.241 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009314/0.8433, allocations: 0.5188 MB / 1.242 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004747/0.8438, allocations: 390.8 kB / 1.242 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of Backend: time 6.41e-07/0.8438, allocations: 3.938 kB / 1.242 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.8461, allocations: 0.7846 MB / 1.243 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002157/0.8483, allocations: 1.694 MB / 1.244 GB, free: 8.262 MB / 0.9669 GB Notification: Performance of Templates: time 0.02414/0.8724, allocations: 14.08 MB / 1.258 GB, free: 10.27 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ProjectedShadowLength.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ProjectedShadowLength.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches