Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000834/0.000834, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009182/0.0009181, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240 MB, free: 5.324 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.665/2.665, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003647, allocations: 8 kB / 0.8722 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5855, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.0067/0.5923, allocations: 6.07 MB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1446/0.7369, allocations: 137.5 MB / 1.163 GB, free: 112 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008897/0.7378, allocations: 19.88 kB / 1.163 GB, free: 92 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.7384, allocations: 190.5 kB / 1.163 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.7401, allocations: 0.6716 MB / 1.163 GB, free: 15.23 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.7422, allocations: 0.7351 MB / 1.164 GB, free: 14.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001869/0.7441, allocations: 1.875 MB / 1.166 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.7451, allocations: 0.7861 MB / 1.167 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.7459, allocations: 0.5677 MB / 1.167 GB, free: 11.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.7466, allocations: 0.6219 MB / 1.168 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.7468, allocations: 40 kB / 1.168 GB, free: 10.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.7475, allocations: 351.7 kB / 1.168 GB, free: 10.22 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.7478, allocations: 270.7 kB / 1.169 GB, free: 9.957 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.7481, allocations: 328.8 kB / 1.169 GB, free: 9.629 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.7497, allocations: 1.854 MB / 1.171 GB, free: 7.773 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7497, allocations: 0 / 1.171 GB, free: 7.773 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.895e-06/0.7497, allocations: 4 kB / 1.171 GB, free: 7.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.7498, allocations: 4 kB / 1.171 GB, free: 7.766 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003375/0.7532, allocations: 1.73 MB / 1.172 GB, free: 5.969 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.7532, allocations: 16.52 kB / 1.172 GB, free: 5.953 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.7543, allocations: 269.5 kB / 1.173 GB, free: 5.688 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.7557, allocations: 0.9381 MB / 1.174 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.636e-05/0.7558, allocations: 115.1 kB / 1.174 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.756, allocations: 152 kB / 1.174 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.7587, allocations: 1.572 MB / 1.175 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.7587, allocations: 0 / 1.175 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.7588, allocations: 67.98 kB / 1.175 GB, free: 2.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.7589, allocations: 36 kB / 1.175 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.7616, allocations: 1.635 MB / 1.177 GB, free: 1.07 MB / 0.92 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006975/0.7686, allocations: 4.617 MB / 1.182 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/0.7707, allocations: 1.186 MB / 1.183 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008001/0.7715, allocations: 479.6 kB / 1.183 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.7716, allocations: 57.06 kB / 1.183 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.7729, allocations: 0.7786 MB / 1.184 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=128): time 3.176e-06/0.773, allocations: 0 / 1.184 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=128): time 0.004211/0.7772, allocations: 1.85 MB / 1.186 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/0.7773, allocations: 193.2 kB / 1.186 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.7784, allocations: 0.8615 MB / 1.187 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.766e-05/0.7785, allocations: 57.69 kB / 1.187 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004699/0.779, allocations: 0.5936 MB / 1.187 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/0.7794, allocations: 414.2 kB / 1.188 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.7794, allocations: 24 kB / 1.188 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.7796, allocations: 354 kB / 1.188 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008398/0.7804, allocations: 450.3 kB / 1.189 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009508/0.7814, allocations: 0.5726 MB / 1.189 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/0.7823, allocations: 494.3 kB / 1.19 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.7823, allocations: 0 / 1.19 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002742/0.7851, allocations: 1.344 MB / 1.191 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.7851, allocations: 11.94 kB / 1.191 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.7851, allocations: 0 / 1.191 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.7857, allocations: 88.83 kB / 1.191 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.7869, allocations: 271.6 kB / 1.191 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.789, allocations: 1.544 MB / 1.193 GB, free: 416 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/0.7901, allocations: 168.5 kB / 1.193 GB, free: 248 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.7903, allocations: 55.95 kB / 1.193 GB, free: 192 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006415/0.7909, allocations: 357.6 kB / 1.193 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.7911, allocations: 122.5 kB / 1.193 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/0.7948, allocations: 1.732 MB / 1.195 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.7948, allocations: 15.95 kB / 1.195 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.7948, allocations: 0 / 1.195 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.7948, allocations: 7.969 kB / 1.195 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.7964, allocations: 1.4 MB / 1.197 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7964, allocations: 0 / 1.197 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009512/0.7974, allocations: 223.6 kB / 1.197 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004939/0.7979, allocations: 84.77 kB / 1.197 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/0.798, allocations: 43.97 kB / 1.197 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.7998, allocations: 1.563 MB / 1.198 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7998, allocations: 0 / 1.198 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002724/0.8025, allocations: 1.41 MB / 1.2 GB, free: 9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/0.8031, allocations: 406.9 kB / 1.2 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.8033, allocations: 32.06 kB / 1.2 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009422/0.8043, allocations: 111.9 kB / 1.2 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.8045, allocations: 117.1 kB / 1.2 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.8046, allocations: 51.95 kB / 1.2 GB, free: 8.277 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008656/0.8055, allocations: 0.6424 MB / 1.201 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8055, allocations: 0 / 1.201 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001184/0.8067, allocations: 494.6 kB / 1.202 GB, free: 7.141 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/0.808, allocations: 0.6201 MB / 1.202 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002425/0.8105, allocations: 1.279 MB / 1.203 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.8105, allocations: 0 / 1.203 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.8118, allocations: 0.7365 MB / 1.204 GB, free: 4.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.8131, allocations: 309.6 kB / 1.204 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/0.818, allocations: 3.19 MB / 1.208 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.8188, allocations: 1.237 MB / 1.209 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001252/0.82, allocations: 330.1 kB / 1.209 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/0.8205, allocations: 163.3 kB / 1.209 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of SimCode: time 6.41e-07/0.8205, allocations: 0 / 1.209 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of Templates: time 0.03406/0.8545, allocations: 19.92 MB / 1.229 GB, free: 11.66 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches