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.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.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.006709/0.006709, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001339/0.001339, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.378/1.378, allocations: 222.9 MB / 240.5 MB, free: 4.434 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.677/2.677, allocations: 437 MB / 0.7106 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 64.05 kB / 0.8692 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6368/0.6383, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007129/0.6455, allocations: 4.998 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1627/0.8083, allocations: 148.5 MB / 1.167 GB, free: 8.773 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.8095, allocations: 19.88 kB / 1.167 GB, free: 8.754 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009461/0.8105, allocations: 146.8 kB / 1.167 GB, free: 8.609 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.813, allocations: 496.5 kB / 1.168 GB, free: 8.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002479/0.8155, allocations: 0.7376 MB / 1.169 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.8176, allocations: 1.362 MB / 1.17 GB, free: 6.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.8189, allocations: 0.5751 MB / 1.17 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009319/0.8198, allocations: 450.1 kB / 1.171 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008711/0.8207, allocations: 0.4939 MB / 1.171 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/0.821, allocations: 60 kB / 1.171 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.8222, allocations: 399.6 kB / 1.172 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.8226, allocations: 251 kB / 1.172 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0008617/0.8235, allocations: 0.5282 MB / 1.173 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.8252, allocations: 1.239 MB / 1.174 GB, free: 2.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8252, allocations: 0 / 1.174 GB, free: 2.027 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8252, allocations: 0 / 1.174 GB, free: 2.027 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.072e-05/0.8253, allocations: 0 / 1.174 GB, free: 2.027 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.003725/0.829, allocations: 1.475 MB / 1.175 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8291, allocations: 12.03 kB / 1.175 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.8302, allocations: 187.3 kB / 1.175 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.8317, allocations: 0.7547 MB / 1.176 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.8318, allocations: 70 kB / 1.176 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.8319, allocations: 91.98 kB / 1.176 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.834, allocations: 0.9574 MB / 1.177 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.834, allocations: 0 / 1.177 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.8341, allocations: 40 kB / 1.177 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.8341, allocations: 20 kB / 1.177 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.8362, allocations: 1.159 MB / 1.178 GB, free: 13.13 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.005299/0.8415, allocations: 2.884 MB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.8432, allocations: 0.8521 MB / 1.182 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.8439, allocations: 322.7 kB / 1.182 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.603e-05/0.844, allocations: 48.47 kB / 1.182 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001112/0.8451, allocations: 0.5237 MB / 1.183 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 3.536e-06/0.8451, allocations: 0 / 1.183 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003644/0.8488, allocations: 1.298 MB / 1.184 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.8489, allocations: 192.9 kB / 1.184 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.85, allocations: 0.6567 MB / 1.185 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.8501, allocations: 41.7 kB / 1.185 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003972/0.8505, allocations: 404.4 kB / 1.185 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.8508, allocations: 283.9 kB / 1.186 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.8511, allocations: 182.5 kB / 1.186 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.8514, allocations: 390.8 kB / 1.186 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/0.852, allocations: 285.8 kB / 1.186 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.8527, allocations: 399 kB / 1.187 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.854, allocations: 0.6555 MB / 1.188 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.854, allocations: 0 / 1.188 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00229/0.8563, allocations: 0.919 MB / 1.188 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.8563, allocations: 7.938 kB / 1.188 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.8564, allocations: 4 kB / 1.188 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006139/0.857, allocations: 84.83 kB / 1.188 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007551/0.8577, allocations: 179.7 kB / 1.189 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.86, allocations: 1.53 MB / 1.19 GB, free: 0.6094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009456/0.861, allocations: 99.22 kB / 1.19 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.8611, allocations: 39.97 kB / 1.19 GB, free: 484 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.0006103/0.8617, allocations: 280.3 kB / 1.191 GB, free: 196 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.862, allocations: 86.97 kB / 1.191 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002898/0.8649, allocations: 1.164 MB / 1.192 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.865, allocations: 8 kB / 1.192 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.865, allocations: 7.938 kB / 1.192 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.865, allocations: 7.969 kB / 1.192 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.8664, allocations: 0.9269 MB / 1.193 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.8664, allocations: 4 kB / 1.193 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006666/0.8671, allocations: 163.7 kB / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005491/0.8676, allocations: 84.72 kB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.8677, allocations: 27.97 kB / 1.193 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/0.8697, allocations: 1.551 MB / 1.194 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8697, allocations: 0 / 1.194 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.872, allocations: 0.9981 MB / 1.195 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/0.8725, allocations: 279.7 kB / 1.196 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.8727, allocations: 27.89 kB / 1.196 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007556/0.8735, allocations: 67.88 kB / 1.196 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.8737, allocations: 76.88 kB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.543e-05/0.8737, allocations: 39.98 kB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007513/0.8745, allocations: 479 kB / 1.196 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.41e-07/0.8745, allocations: 0 / 1.196 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001055/0.8756, allocations: 339.2 kB / 1.197 GB, free: 9.637 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.001563/0.8771, allocations: 0.6044 MB / 1.197 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.8792, allocations: 0.8975 MB / 1.198 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.8792, allocations: 3.938 kB / 1.198 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.8802, allocations: 0.5395 MB / 1.199 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.8817, allocations: 284.5 kB / 1.199 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/0.8856, allocations: 2.202 MB / 1.201 GB, free: 5.242 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.8864, allocations: 1.04 MB / 1.202 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/0.8869, allocations: 131.4 kB / 1.202 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of SimCode: time 1.383e-06/0.8869, allocations: 0 / 1.202 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of Templates: time 0.02908/0.916, allocations: 19.32 MB / 1.221 GB, free: 0.7773 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/jenkins1/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