Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_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_latest_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.0008377/0.0008379, allocations: 92 kB / 15.36 MB, free: 0.7383 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.005063/0.005063, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 462.6 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 9.312 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4302, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00682/0.4371, allocations: 4.556 MB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1933/0.6304, allocations: 146.9 MB / 1.207 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.6316, allocations: 19.88 kB / 1.207 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006353/0.6323, allocations: 154.8 kB / 1.207 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.6347, allocations: 492.4 kB / 1.207 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.6371, allocations: 0.7369 MB / 1.208 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002001/0.6391, allocations: 1.347 MB / 1.209 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.6401, allocations: 0.5633 MB / 1.21 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.641, allocations: 382.2 kB / 1.21 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006396/0.6416, allocations: 417.8 kB / 1.211 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.6418, allocations: 28 kB / 1.211 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.643, allocations: 371.6 kB / 1.211 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002504/0.6432, allocations: 195 kB / 1.211 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005081/0.6437, allocations: 0.4909 MB / 1.212 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.6454, allocations: 1.542 MB / 1.213 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.6454, allocations: 3.938 kB / 1.213 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6454, allocations: 0 / 1.213 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.6454, allocations: 0 / 1.213 GB, free: 6.73 MB / 0.9669 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.002786/0.6482, allocations: 1.263 MB / 1.214 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/0.6483, allocations: 8.031 kB / 1.214 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009437/0.6492, allocations: 203.3 kB / 1.215 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.6504, allocations: 0.7546 MB / 1.215 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.918e-05/0.6505, allocations: 66 kB / 1.215 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.6506, allocations: 84 kB / 1.215 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.6523, allocations: 0.9808 MB / 1.216 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6523, allocations: 0 / 1.216 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/0.6524, allocations: 36 kB / 1.216 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.6525, allocations: 24 kB / 1.216 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.6544, allocations: 1.167 MB / 1.218 GB, free: 2.02 MB / 0.9669 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.004549/0.659, allocations: 2.916 MB / 1.22 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.6605, allocations: 0.8517 MB / 1.221 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005617/0.6611, allocations: 330.7 kB / 1.222 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.679e-05/0.6612, allocations: 36.67 kB / 1.222 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009433/0.6621, allocations: 0.5276 MB / 1.222 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 3.787e-06/0.6621, allocations: 4 kB / 1.222 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003338/0.6655, allocations: 1.317 MB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6656, allocations: 196.9 kB / 1.224 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008252/0.6664, allocations: 0.6527 MB / 1.224 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-05/0.6665, allocations: 45.7 kB / 1.224 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003117/0.6668, allocations: 412.4 kB / 1.225 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.6671, allocations: 283.9 kB / 1.225 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.6672, allocations: 73.67 kB / 1.225 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.6674, allocations: 390.7 kB / 1.225 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/0.6679, allocations: 297.8 kB / 1.226 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006447/0.6686, allocations: 403 kB / 1.226 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.6698, allocations: 0.6633 MB / 1.227 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6698, allocations: 0 / 1.227 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001997/0.6718, allocations: 0.9268 MB / 1.228 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6718, allocations: 11.94 kB / 1.228 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6718, allocations: 0 / 1.228 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006121/0.6724, allocations: 84.78 kB / 1.228 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/0.6732, allocations: 179.8 kB / 1.228 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.6753, allocations: 1.526 MB / 1.229 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008125/0.6762, allocations: 120.8 kB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.6763, allocations: 39.97 kB / 1.23 GB, free: 5.363 MB / 0.9825 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.0004602/0.6767, allocations: 285.7 kB / 1.23 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.6769, allocations: 86.97 kB / 1.23 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.6794, allocations: 1.171 MB / 1.231 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.6794, allocations: 8 kB / 1.231 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6794, allocations: 7.938 kB / 1.231 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.6795, allocations: 7.984 kB / 1.231 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.6806, allocations: 0.9308 MB / 1.232 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6806, allocations: 0 / 1.232 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.6812, allocations: 163.7 kB / 1.232 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000533/0.6818, allocations: 84.77 kB / 1.232 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.6818, allocations: 23.98 kB / 1.232 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/0.6836, allocations: 1.548 MB / 1.234 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.6836, allocations: 4.031 kB / 1.234 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.6856, allocations: 1.002 MB / 1.235 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/0.6861, allocations: 299.5 kB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.6862, allocations: 16 kB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.6869, allocations: 98.67 kB / 1.235 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.6871, allocations: 80.88 kB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.6872, allocations: 35.98 kB / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005951/0.6878, allocations: 479 kB / 1.236 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6878, allocations: 3.938 kB / 1.236 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008714/0.6886, allocations: 335.3 kB / 1.236 GB, free: 14.48 MB / 0.9981 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.001407/0.6901, allocations: 0.6138 MB / 1.237 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001807/0.6919, allocations: 0.9014 MB / 1.237 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6919, allocations: 4.188 kB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/0.6928, allocations: 0.551 MB / 1.238 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.6941, allocations: 280.6 kB / 1.238 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.6974, allocations: 2.188 MB / 1.24 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009022/0.6983, allocations: 1.04 MB / 1.241 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009035/0.6992, allocations: 271.1 kB / 1.242 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.6995, allocations: 115.4 kB / 1.242 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.6995, allocations: 0 / 1.242 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of Templates: time 0.7058/1.405, allocations: 15.13 MB / 1.257 GB, free: 188.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches