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.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.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.001105/0.001105, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001398/0.001398, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 223.3 MB / 240 MB, free: 5.445 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.713/2.713, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.000348, allocations: 11.94 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5898/0.5902, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005359/0.5956, allocations: 4.663 MB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1475/0.7431, allocations: 137 MB / 1.161 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.7437, allocations: 19.88 kB / 1.161 GB, free: 2 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004764/0.7442, allocations: 146.8 kB / 1.161 GB, free: 1.855 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.7456, allocations: 0.5013 MB / 1.161 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001592/0.7472, allocations: 0.6672 MB / 1.162 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.7486, allocations: 1.35 MB / 1.163 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007558/0.7494, allocations: 0.5236 MB / 1.164 GB, free: 14.8 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005268/0.7499, allocations: 402.2 kB / 1.164 GB, free: 14.4 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005174/0.7504, allocations: 437.8 kB / 1.165 GB, free: 13.97 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.239e-05/0.7505, allocations: 28 kB / 1.165 GB, free: 13.95 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007107/0.7512, allocations: 363.6 kB / 1.165 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.7514, allocations: 199.1 kB / 1.165 GB, free: 13.39 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.7517, allocations: 233 kB / 1.165 GB, free: 13.16 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.7529, allocations: 1.329 MB / 1.167 GB, free: 11.83 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7529, allocations: 3.984 kB / 1.167 GB, free: 11.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7529, allocations: 0 / 1.167 GB, free: 11.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.753, allocations: 4 kB / 1.167 GB, free: 11.82 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002328/0.7553, allocations: 1.343 MB / 1.168 GB, free: 10.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.7553, allocations: 16.56 kB / 1.168 GB, free: 10.41 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008534/0.7562, allocations: 210.2 kB / 1.168 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.7573, allocations: 0.766 MB / 1.169 GB, free: 9.395 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.7574, allocations: 78.02 kB / 1.169 GB, free: 9.316 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.7575, allocations: 96 kB / 1.169 GB, free: 9.223 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.7593, allocations: 1.063 MB / 1.17 GB, free: 8.094 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.7593, allocations: 4 kB / 1.17 GB, free: 8.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.7594, allocations: 40 kB / 1.17 GB, free: 8.051 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.7595, allocations: 24 kB / 1.17 GB, free: 8.027 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.7615, allocations: 1.237 MB / 1.171 GB, free: 6.789 MB / 0.92 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.004726/0.7662, allocations: 3.221 MB / 1.175 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.7678, allocations: 0.8953 MB / 1.176 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005854/0.7684, allocations: 347.6 kB / 1.176 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-05/0.7685, allocations: 37.02 kB / 1.176 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009558/0.7695, allocations: 0.5657 MB / 1.176 GB, free: 1.578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=92): time 2.514e-06/0.7695, allocations: 0 / 1.176 GB, free: 1.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=92): time 0.003262/0.7727, allocations: 1.341 MB / 1.178 GB, free: 212 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.7729, allocations: 192.9 kB / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009078/0.7738, allocations: 0.6724 MB / 1.179 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.822e-05/0.7739, allocations: 49.7 kB / 1.179 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.7743, allocations: 448.2 kB / 1.179 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.7745, allocations: 295.8 kB / 1.179 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.7746, allocations: 16 kB / 1.179 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.7748, allocations: 394.7 kB / 1.18 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.7754, allocations: 305.8 kB / 1.18 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.776, allocations: 407.1 kB / 1.18 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/0.7767, allocations: 358.8 kB / 1.181 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7767, allocations: 0 / 1.181 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002058/0.7788, allocations: 0.9541 MB / 1.182 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.7788, allocations: 8 kB / 1.182 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7788, allocations: 0 / 1.182 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/0.7794, allocations: 80.84 kB / 1.182 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/0.7802, allocations: 191.7 kB / 1.182 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.7822, allocations: 1.524 MB / 1.183 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008106/0.783, allocations: 127.2 kB / 1.184 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.7831, allocations: 43.97 kB / 1.184 GB, free: 9.957 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 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAng.decAng.tNext,incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004711/0.7836, allocations: 297.3 kB / 1.184 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.7837, allocations: 90.88 kB / 1.184 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.7865, allocations: 1.246 MB / 1.185 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.7865, allocations: 8 kB / 1.185 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.7865, allocations: 4 kB / 1.185 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.7865, allocations: 7.969 kB / 1.185 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.7877, allocations: 1.001 MB / 1.186 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.7877, allocations: 0 / 1.186 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007012/0.7884, allocations: 171.7 kB / 1.186 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004845/0.7889, allocations: 84.78 kB / 1.186 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.699e-05/0.789, allocations: 35.92 kB / 1.186 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.7907, allocations: 1.54 MB / 1.188 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7908, allocations: 0 / 1.188 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.7928, allocations: 1.045 MB / 1.189 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/0.7932, allocations: 315.5 kB / 1.189 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.7934, allocations: 27.98 kB / 1.189 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006838/0.7941, allocations: 87.83 kB / 1.189 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.7942, allocations: 84.88 kB / 1.189 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.7943, allocations: 39.98 kB / 1.19 GB, free: 3.641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005998/0.7949, allocations: 491 kB / 1.19 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.41e-07/0.7949, allocations: 0 / 1.19 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009251/0.7959, allocations: 379.1 kB / 1.19 GB, free: 2.793 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00136/0.7972, allocations: 0.6219 MB / 1.191 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.799, allocations: 0.9367 MB / 1.192 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.799, allocations: 0 / 1.192 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009801/0.8, allocations: 0.5666 MB / 1.192 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.8012, allocations: 280 kB / 1.193 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.8045, allocations: 2.318 MB / 1.195 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.8052, allocations: 1.074 MB / 1.196 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009274/0.8061, allocations: 287.4 kB / 1.196 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.8064, allocations: 119.4 kB / 1.196 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of SimCode: time 4.71e-07/0.8064, allocations: 4 kB / 1.196 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of Templates: time 0.02641/0.8328, allocations: 15.61 MB / 1.212 GB, free: 13.27 MB / 0.9669 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=480 -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