Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001989/0.001989, allocations: 190.2 kB / 16.25 MB, free: 6.625 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.583/1.583, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.724/2.724, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.89 kB / 0.8687 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.804/0.806, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.008441/0.8145, allocations: 5.369 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.194/1.009, allocations: 148.6 MB / 1.167 GB, free: 8.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/1.01, allocations: 15.94 kB / 1.167 GB, free: 8.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006862/1.01, allocations: 162.7 kB / 1.167 GB, free: 7.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/1.013, allocations: 0.5474 MB / 1.168 GB, free: 7.445 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/1.015, allocations: 0.7883 MB / 1.169 GB, free: 6.664 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002177/1.017, allocations: 1.561 MB / 1.17 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/1.018, allocations: 0.6681 MB / 1.171 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008784/1.019, allocations: 0.5644 MB / 1.171 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007746/1.02, allocations: 0.5912 MB / 1.172 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001946/1.02, allocations: 136 kB / 1.172 GB, free: 3.117 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/1.021, allocations: 0.4918 MB / 1.173 GB, free: 2.625 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003544/1.021, allocations: 334.9 kB / 1.173 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006872/1.022, allocations: 0.653 MB / 1.173 GB, free: 1.641 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/1.024, allocations: 1.815 MB / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.024, allocations: 0 / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.683e-06/1.024, allocations: 0 / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.435e-05/1.025, allocations: 0 / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003258/1.028, allocations: 1.577 MB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.028, allocations: 12.03 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/1.029, allocations: 203.2 kB / 1.177 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/1.03, allocations: 0.7972 MB / 1.178 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/1.03, allocations: 70.02 kB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/1.03, allocations: 104 kB / 1.178 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/1.032, allocations: 1.063 MB / 1.179 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.032, allocations: 0 / 1.179 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.033, allocations: 44 kB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/1.033, allocations: 28 kB / 1.179 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/1.035, allocations: 1.225 MB / 1.18 GB, free: 10.54 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.005434/1.04, allocations: 3.191 MB / 1.183 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/1.042, allocations: 0.8938 MB / 1.184 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/1.043, allocations: 343.7 kB / 1.185 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.801e-05/1.043, allocations: 37.02 kB / 1.185 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/1.044, allocations: 0.5474 MB / 1.185 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=92): time 2.895e-06/1.044, allocations: 0 / 1.185 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=92): time 0.003725/1.048, allocations: 1.345 MB / 1.186 GB, free: 4 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.048, allocations: 188.9 kB / 1.187 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009711/1.049, allocations: 0.6842 MB / 1.187 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.126e-05/1.049, allocations: 45.7 kB / 1.187 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004062/1.049, allocations: 452.2 kB / 1.188 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/1.05, allocations: 295.7 kB / 1.188 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003299/1.05, allocations: 186.5 kB / 1.188 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.05, allocations: 394.7 kB / 1.189 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/1.051, allocations: 301.8 kB / 1.189 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/1.052, allocations: 415 kB / 1.189 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/1.053, allocations: 0.6828 MB / 1.19 GB, free: 304 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.053, allocations: 0 / 1.19 GB, free: 304 kB / 0.9356 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002356/1.055, allocations: 0.958 MB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.055, allocations: 4 kB / 1.191 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/1.055, allocations: 7.984 kB / 1.191 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00065/1.056, allocations: 80.84 kB / 1.191 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/1.057, allocations: 183.7 kB / 1.191 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/1.059, allocations: 1.643 MB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/1.06, allocations: 112.5 kB / 1.193 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/1.06, allocations: 48.03 kB / 1.193 GB, free: 13.11 MB / 0.9512 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,incAng.decAng.tNext,$PRE.incAng.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 (109): * Single equations (assignments): 108 * 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.0005398/1.061, allocations: 279.9 kB / 1.193 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/1.061, allocations: 95.05 kB / 1.193 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/1.064, allocations: 1.23 MB / 1.194 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/1.064, allocations: 15.98 kB / 1.194 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/1.064, allocations: 0 / 1.194 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.064, allocations: 3.984 kB / 1.194 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/1.066, allocations: 1.001 MB / 1.195 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.066, allocations: 4 kB / 1.195 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007076/1.066, allocations: 171.7 kB / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/1.067, allocations: 72.77 kB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.121e-05/1.067, allocations: 31.98 kB / 1.196 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/1.069, allocations: 1.658 MB / 1.197 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/1.069, allocations: 0 / 1.197 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/1.071, allocations: 1.049 MB / 1.198 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/1.072, allocations: 295.5 kB / 1.199 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.072, allocations: 24 kB / 1.199 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000721/1.073, allocations: 75.83 kB / 1.199 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.073, allocations: 76.89 kB / 1.199 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-05/1.073, allocations: 43.97 kB / 1.199 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006895/1.074, allocations: 0.4911 MB / 1.199 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/1.074, allocations: 0 / 1.199 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001073/1.075, allocations: 379.1 kB / 1.2 GB, free: 5.879 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,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.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 (107): * Single equations (assignments): 100 * 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.002056/1.077, allocations: 0.6231 MB / 1.2 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002944/1.08, allocations: 1.163 MB / 1.201 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.08, allocations: 4.188 kB / 1.201 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.081, allocations: 0.5783 MB / 1.202 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/1.082, allocations: 315 kB / 1.202 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0041/1.086, allocations: 2.351 MB / 1.205 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000877/1.087, allocations: 1.075 MB / 1.206 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001018/1.088, allocations: 283.4 kB / 1.206 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/1.089, allocations: 123.4 kB / 1.206 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of SimCode: time 8.61e-07/1.089, allocations: 0 / 1.206 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.03555/1.124, allocations: 16.8 MB / 1.222 GB, free: 14.88 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches