Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001083/0.001084, allocations: 193.7 kB / 16.14 MB, free: 6.648 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.628/2.628, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6093/0.6105, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007148/0.6177, allocations: 4.994 MB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1619/0.7797, allocations: 148.5 MB / 1.166 GB, free: 8.723 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.7808, allocations: 19.88 kB / 1.166 GB, free: 8.703 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0008336/0.7817, allocations: 146.8 kB / 1.167 GB, free: 8.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.7838, allocations: 0.4974 MB / 1.167 GB, free: 8.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002109/0.7859, allocations: 0.7375 MB / 1.168 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.7877, allocations: 1.358 MB / 1.169 GB, free: 5.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.7889, allocations: 0.565 MB / 1.17 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.7899, allocations: 454.1 kB / 1.17 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009372/0.7909, allocations: 0.5016 MB / 1.171 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.7912, allocations: 60 kB / 1.171 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.7923, allocations: 399.6 kB / 1.171 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.7927, allocations: 243 kB / 1.171 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007029/0.7934, allocations: 0.5282 MB / 1.172 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00175/0.7952, allocations: 1.589 MB / 1.173 GB, free: 1.625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7952, allocations: 3.938 kB / 1.173 GB, free: 1.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7952, allocations: 3.938 kB / 1.173 GB, free: 1.617 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.7952, allocations: 0 / 1.173 GB, free: 1.617 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00282/0.798, allocations: 1.472 MB / 1.175 GB, free: 92 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.7981, allocations: 12.03 kB / 1.175 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/0.799, allocations: 187.3 kB / 1.175 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.8001, allocations: 0.7663 MB / 1.176 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.8002, allocations: 66 kB / 1.176 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.8003, allocations: 92 kB / 1.176 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.802, allocations: 0.9651 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.802, allocations: 0 / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/0.8021, allocations: 40 kB / 1.177 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.8022, allocations: 20 kB / 1.177 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.804, allocations: 1.159 MB / 1.178 GB, free: 12.71 MB / 0.9356 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.004277/0.8083, allocations: 2.88 MB / 1.181 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.8099, allocations: 0.8482 MB / 1.182 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000564/0.8104, allocations: 326.7 kB / 1.182 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.836e-05/0.8105, allocations: 32.69 kB / 1.182 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009836/0.8115, allocations: 0.5329 MB / 1.183 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 2.354e-06/0.8115, allocations: 0 / 1.183 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003454/0.815, allocations: 1.294 MB / 1.184 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.8151, allocations: 200.9 kB / 1.184 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008184/0.8159, allocations: 0.6566 MB / 1.185 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.816, allocations: 41.7 kB / 1.185 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.8164, allocations: 404.5 kB / 1.185 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.8166, allocations: 283.9 kB / 1.185 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.8169, allocations: 174.5 kB / 1.186 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.8171, allocations: 394.7 kB / 1.186 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.8176, allocations: 293.8 kB / 1.186 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.8183, allocations: 391.1 kB / 1.187 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.8195, allocations: 0.6555 MB / 1.187 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8195, allocations: 4 kB / 1.187 GB, free: 3.066 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002158/0.8217, allocations: 0.9151 MB / 1.188 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.8217, allocations: 15.88 kB / 1.188 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.8217, allocations: 0 / 1.188 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.8224, allocations: 84.83 kB / 1.188 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/0.8232, allocations: 175.8 kB / 1.188 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.8253, allocations: 1.538 MB / 1.19 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008806/0.8262, allocations: 99.22 kB / 1.19 GB, free: 96 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.8263, allocations: 43.97 kB / 1.19 GB, free: 52 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005068/0.8268, allocations: 280.3 kB / 1.19 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.827, allocations: 86.91 kB / 1.19 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.8296, allocations: 1.16 MB / 1.191 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.8296, allocations: 15.98 kB / 1.191 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.8296, allocations: 3.938 kB / 1.191 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.8296, allocations: 7.984 kB / 1.191 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.8308, allocations: 0.9269 MB / 1.192 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8308, allocations: 3.938 kB / 1.192 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00064/0.8314, allocations: 151.8 kB / 1.193 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/0.832, allocations: 84.77 kB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.8321, allocations: 31.97 kB / 1.193 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/0.834, allocations: 1.544 MB / 1.194 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.834, allocations: 4.062 kB / 1.194 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.8362, allocations: 0.9941 MB / 1.195 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003802/0.8366, allocations: 283.6 kB / 1.195 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.8367, allocations: 24 kB / 1.195 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.8374, allocations: 67.86 kB / 1.195 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.8376, allocations: 76.89 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-05/0.8377, allocations: 39.97 kB / 1.196 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000607/0.8383, allocations: 483 kB / 1.196 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8383, allocations: 0 / 1.196 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009547/0.8392, allocations: 335.2 kB / 1.196 GB, free: 9.23 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.8406, allocations: 0.6112 MB / 1.197 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001802/0.8424, allocations: 0.8937 MB / 1.198 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.8424, allocations: 0 / 1.198 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009614/0.8434, allocations: 0.5434 MB / 1.198 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.8446, allocations: 295.7 kB / 1.199 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.8479, allocations: 2.165 MB / 1.201 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.8485, allocations: 1.044 MB / 1.202 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008892/0.8494, allocations: 267.1 kB / 1.202 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.8497, allocations: 115.4 kB / 1.202 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.8497, allocations: 0 / 1.202 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of Templates: time 0.02886/0.8786, allocations: 15.23 MB / 1.217 GB, free: 4.355 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches