Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.001331, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.477/1.477, allocations: 223.3 MB / 241 MB, free: 5.297 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.735/2.735, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 12.17 kB / 0.8735 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7592/0.7596, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006385/0.766, allocations: 4.512 MB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1759/0.942, allocations: 146.7 MB / 1.171 GB, free: 8.055 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008968/0.943, allocations: 23.81 kB / 1.171 GB, free: 8.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000567/0.9435, allocations: 146.8 kB / 1.172 GB, free: 7.887 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.9452, allocations: 497.6 kB / 1.172 GB, free: 7.402 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.9472, allocations: 0.7321 MB / 1.173 GB, free: 6.676 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001515/0.9487, allocations: 1.331 MB / 1.174 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008538/0.9495, allocations: 0.5595 MB / 1.175 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.9501, allocations: 366.2 kB / 1.175 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005148/0.9506, allocations: 405.8 kB / 1.175 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.9507, allocations: 31.94 kB / 1.175 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008101/0.9515, allocations: 363.7 kB / 1.176 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.9518, allocations: 195.1 kB / 1.176 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004501/0.9522, allocations: 490.8 kB / 1.176 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.9535, allocations: 1.192 MB / 1.178 GB, free: 1.742 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.9535, allocations: 0 / 1.178 GB, free: 1.742 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9535, allocations: 0 / 1.178 GB, free: 1.742 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.9535, allocations: 0 / 1.178 GB, free: 1.742 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002399/0.9559, allocations: 1.257 MB / 1.179 GB, free: 436 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.956, allocations: 8.031 kB / 1.179 GB, free: 428 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.9569, allocations: 199.4 kB / 1.179 GB, free: 228 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/0.958, allocations: 0.7468 MB / 1.18 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.958, allocations: 66 kB / 1.18 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.9582, allocations: 83.98 kB / 1.18 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.9598, allocations: 0.9457 MB / 1.181 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.9598, allocations: 0 / 1.181 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.798e-05/0.9599, allocations: 36 kB / 1.181 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.9599, allocations: 28 kB / 1.181 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.9617, allocations: 1.128 MB / 1.182 GB, free: 13.11 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.00421/0.966, allocations: 2.784 MB / 1.185 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.9676, allocations: 0.9162 MB / 1.186 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005819/0.9682, allocations: 326.6 kB / 1.186 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.517e-05/0.9683, allocations: 32.69 kB / 1.186 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009412/0.9692, allocations: 0.5081 MB / 1.186 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.534e-06/0.9693, allocations: 4 kB / 1.186 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.003311/0.9726, allocations: 1.267 MB / 1.188 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.9727, allocations: 192.9 kB / 1.188 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/0.9736, allocations: 0.6526 MB / 1.188 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.9737, allocations: 41.7 kB / 1.188 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.974, allocations: 400.5 kB / 1.189 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002398/0.9743, allocations: 272.1 kB / 1.189 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.9744, allocations: 65.69 kB / 1.189 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.9746, allocations: 390.8 kB / 1.19 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/0.9751, allocations: 277.8 kB / 1.19 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.9758, allocations: 379.1 kB / 1.19 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.9773, allocations: 0.6359 MB / 1.191 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.9773, allocations: 0 / 1.191 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002009/0.9793, allocations: 0.8877 MB / 1.192 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.9793, allocations: 4 kB / 1.192 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.9793, allocations: 11.92 kB / 1.192 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006002/0.9799, allocations: 84.86 kB / 1.192 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.9806, allocations: 171.7 kB / 1.192 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.9829, allocations: 1.524 MB / 1.193 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008238/0.9838, allocations: 111.3 kB / 1.193 GB, free: 0.7773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.044e-05/0.9839, allocations: 39.97 kB / 1.194 GB, free: 0.7383 MB / 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 (99): * Single equations (assignments): 98 * 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.0005429/0.9844, allocations: 280.2 kB / 1.194 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.9846, allocations: 82.97 kB / 1.194 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.9871, allocations: 1.144 MB / 1.195 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.9872, allocations: 8 kB / 1.195 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.9872, allocations: 0 / 1.195 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.9872, allocations: 7.922 kB / 1.195 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.9906, allocations: 2.027 MB / 1.197 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.9907, allocations: 3.984 kB / 1.197 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006107/0.9913, allocations: 151.8 kB / 1.197 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/0.9918, allocations: 92.7 kB / 1.197 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.9919, allocations: 27.97 kB / 1.197 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.9938, allocations: 1.54 MB / 1.199 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9938, allocations: 0 / 1.199 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.9959, allocations: 1.055 MB / 1.2 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.9963, allocations: 299.5 kB / 1.2 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.9964, allocations: 23.94 kB / 1.2 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/0.9971, allocations: 87.92 kB / 1.2 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001775/0.9973, allocations: 80.88 kB / 1.2 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.9974, allocations: 35.98 kB / 1.2 GB, free: 9.551 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006099/0.998, allocations: 463 kB / 1.201 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/0.998, allocations: 0 / 1.201 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009652/0.999, allocations: 331.2 kB / 1.201 GB, free: 8.777 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * 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.001438/1, allocations: 0.6155 MB / 1.202 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001807/1.002, allocations: 0.8782 MB / 1.203 GB, free: 7.445 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.002, allocations: 4 kB / 1.203 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000978/1.003, allocations: 0.5392 MB / 1.203 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/1.005, allocations: 277.3 kB / 1.203 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/1.008, allocations: 2.189 MB / 1.205 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/1.009, allocations: 1.032 MB / 1.206 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/1.009, allocations: 123.4 kB / 1.207 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of SimCode: time 1.012e-06/1.009, allocations: 0 / 1.207 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of Templates: time 0.0279/1.037, allocations: 18.81 MB / 1.225 GB, free: 484 kB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches