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.001488/0.001488, 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.001784/0.001784, allocations: 192.1 kB / 16.13 MB, free: 6.645 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.742/2.742, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 68.69 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3105, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006897/0.3175, allocations: 4.977 MB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.478, allocations: 148.5 MB / 1.202 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.4792, allocations: 15.94 kB / 1.202 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008542/0.4801, allocations: 150.8 kB / 1.202 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.4822, allocations: 492.8 kB / 1.203 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.4843, allocations: 0.7427 MB / 1.203 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.4863, allocations: 1.35 MB / 1.205 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.4876, allocations: 0.5712 MB / 1.205 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001144/0.4888, allocations: 454.2 kB / 1.206 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.4899, allocations: 0.4977 MB / 1.206 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.4903, allocations: 60 kB / 1.206 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.4915, allocations: 399.6 kB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/0.4919, allocations: 247 kB / 1.207 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007431/0.4926, allocations: 0.5244 MB / 1.207 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.495, allocations: 1.589 MB / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4951, allocations: 0 / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4951, allocations: 0 / 1.209 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.036e-05/0.4951, allocations: 0 / 1.209 GB, free: 7.723 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.003593/0.4987, allocations: 1.479 MB / 1.21 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4988, allocations: 8.031 kB / 1.21 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.4998, allocations: 191.3 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.5011, allocations: 0.7624 MB / 1.211 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.5012, allocations: 66 kB / 1.211 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.5013, allocations: 84 kB / 1.211 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.5031, allocations: 0.9807 MB / 1.212 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.5031, allocations: 0 / 1.212 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.5032, allocations: 36 kB / 1.212 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.5032, allocations: 24 kB / 1.212 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.5051, allocations: 1.159 MB / 1.214 GB, free: 2.805 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.004489/0.5096, allocations: 2.884 MB / 1.216 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.5113, allocations: 0.8369 MB / 1.217 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/0.5119, allocations: 326.7 kB / 1.217 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.665e-05/0.512, allocations: 36.67 kB / 1.218 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009902/0.513, allocations: 0.5314 MB / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.534e-06/0.513, allocations: 0 / 1.218 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003459/0.5164, allocations: 1.29 MB / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/0.5165, allocations: 200.9 kB / 1.219 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/0.5174, allocations: 0.6605 MB / 1.22 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.904e-05/0.5175, allocations: 41.7 kB / 1.22 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002963/0.5178, allocations: 400.5 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.518, allocations: 287.8 kB / 1.221 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.5182, allocations: 182.5 kB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5184, allocations: 390.7 kB / 1.221 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.519, allocations: 289.8 kB / 1.222 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.5197, allocations: 399 kB / 1.222 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.5209, allocations: 0.6555 MB / 1.223 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5209, allocations: 0 / 1.223 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002138/0.5231, allocations: 0.9229 MB / 1.224 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.5231, allocations: 7.938 kB / 1.224 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5231, allocations: 64 / 1.224 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/0.5237, allocations: 92.83 kB / 1.224 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.5245, allocations: 171.8 kB / 1.224 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.5268, allocations: 1.528 MB / 1.225 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008754/0.5277, allocations: 91.33 kB / 1.225 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.727e-05/0.5278, allocations: 39.97 kB / 1.225 GB, free: 6.168 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.0004913/0.5283, allocations: 289.2 kB / 1.226 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.5285, allocations: 90.88 kB / 1.226 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.5314, allocations: 1.16 MB / 1.227 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.5314, allocations: 8 kB / 1.227 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5314, allocations: 3.938 kB / 1.227 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.5314, allocations: 7.922 kB / 1.227 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.5327, allocations: 0.9386 MB / 1.228 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.5327, allocations: 0 / 1.228 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/0.5334, allocations: 159.8 kB / 1.228 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005727/0.534, allocations: 84.78 kB / 1.228 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-05/0.5341, allocations: 27.97 kB / 1.228 GB, free: 3.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/0.536, allocations: 1.54 MB / 1.23 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.536, allocations: 0 / 1.23 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.5383, allocations: 1.002 MB / 1.231 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004421/0.5387, allocations: 279.6 kB / 1.231 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.5389, allocations: 24 kB / 1.231 GB, free: 324 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.5397, allocations: 65.33 kB / 1.231 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.5399, allocations: 92.81 kB / 1.231 GB, free: 168 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.529e-05/0.54, allocations: 31.98 kB / 1.231 GB, free: 136 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007309/0.5407, allocations: 479.1 kB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5407, allocations: 3.938 kB / 1.232 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001048/0.5418, allocations: 339.2 kB / 1.232 GB, free: 15.33 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.00165/0.5434, allocations: 0.5995 MB / 1.232 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.5455, allocations: 0.8937 MB / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.5455, allocations: 0 / 1.233 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.5466, allocations: 0.5472 MB / 1.234 GB, free: 13.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.548, allocations: 276.5 kB / 1.234 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.5517, allocations: 2.169 MB / 1.236 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/0.5525, allocations: 1.04 MB / 1.237 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001015/0.5535, allocations: 279.1 kB / 1.238 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.5538, allocations: 111.4 kB / 1.238 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.5538, allocations: 0 / 1.238 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of Templates: time 0.5507/1.105, allocations: 15.24 MB / 1.253 GB, free: 191 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