Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_latest_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_latest_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.001159/0.001166, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.008953/0.008953, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.475/1.475, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.014/3.014, allocations: 483.2 MB / 0.7564 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003612, allocations: 11.83 kB / 0.9276 GB, free: 28.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3546, allocations: 164.5 MB / 1.088 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006778/0.3615, allocations: 4.918 MB / 1.093 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1877/0.5492, allocations: 146.9 MB / 1.236 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.5502, allocations: 11.94 kB / 1.237 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006372/0.5509, allocations: 170.7 kB / 1.237 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.5527, allocations: 0.5074 MB / 1.237 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.5547, allocations: 0.7719 MB / 1.238 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001737/0.5565, allocations: 1.455 MB / 1.239 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.5575, allocations: 0.6319 MB / 1.24 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006406/0.5582, allocations: 410 kB / 1.24 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/0.5588, allocations: 453.5 kB / 1.241 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.751e-05/0.5589, allocations: 32 kB / 1.241 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009442/0.5598, allocations: 395.5 kB / 1.241 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002469/0.5601, allocations: 207 kB / 1.241 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006014/0.5607, allocations: 0.5336 MB / 1.242 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.5626, allocations: 1.697 MB / 1.244 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5627, allocations: 0 / 1.244 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5627, allocations: 0 / 1.244 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.5627, allocations: 4 kB / 1.244 GB, free: 10.69 MB / 0.9981 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.002697/0.5654, allocations: 1.34 MB / 1.245 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5654, allocations: 8.031 kB / 1.245 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.5664, allocations: 215.2 kB / 1.245 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.5676, allocations: 0.7973 MB / 1.246 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.353e-05/0.5677, allocations: 74.02 kB / 1.246 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.5679, allocations: 96 kB / 1.246 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.5699, allocations: 1.075 MB / 1.247 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.5699, allocations: 0 / 1.247 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.57, allocations: 44 kB / 1.247 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.57, allocations: 24 kB / 1.247 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.5721, allocations: 1.229 MB / 1.248 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005367/0.5775, allocations: 3.324 MB / 1.252 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.5793, allocations: 0.8977 MB / 1.252 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/0.58, allocations: 351.6 kB / 1.253 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.263e-05/0.5801, allocations: 37.02 kB / 1.253 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.5812, allocations: 0.5475 MB / 1.253 GB, free: 300 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=92): time 2.535e-06/0.5812, allocations: 0 / 1.253 GB, free: 300 kB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.6058/1.187, allocations: 1.357 MB / 1.255 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/1.187, allocations: 193.1 kB / 1.255 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009353/1.188, allocations: 0.6843 MB / 1.256 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.377e-05/1.188, allocations: 45.58 kB / 1.256 GB, free: 170 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/1.188, allocations: 443.3 kB / 1.256 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/1.189, allocations: 300.8 kB / 1.256 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/1.189, allocations: 77.84 kB / 1.256 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.189, allocations: 392 kB / 1.257 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006787/1.19, allocations: 311 kB / 1.257 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007135/1.19, allocations: 413.2 kB / 1.257 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/1.192, allocations: 0.6964 MB / 1.258 GB, free: 169 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.192, allocations: 0 / 1.258 GB, free: 169 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002164/1.194, allocations: 0.9713 MB / 1.259 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.194, allocations: 9.438 kB / 1.259 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.194, allocations: 1.25 kB / 1.259 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006155/1.195, allocations: 84.75 kB / 1.259 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/1.195, allocations: 187.2 kB / 1.259 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/1.197, allocations: 1.528 MB / 1.261 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/1.198, allocations: 117.1 kB / 1.261 GB, free: 167.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/1.198, allocations: 42.36 kB / 1.261 GB, free: 167.2 MB / 0.9981 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.0005152/1.199, allocations: 294.2 kB / 1.261 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/1.199, allocations: 92.19 kB / 1.261 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002914/1.202, allocations: 1.235 MB / 1.263 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/1.202, allocations: 11.09 kB / 1.263 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.202, allocations: 0 / 1.263 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/1.202, allocations: 10.61 kB / 1.263 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/1.203, allocations: 1.008 MB / 1.264 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.203, allocations: 0.5469 kB / 1.264 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000742/1.204, allocations: 171.8 kB / 1.264 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005591/1.205, allocations: 86.41 kB / 1.264 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.222e-05/1.205, allocations: 31.52 kB / 1.264 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/1.206, allocations: 1.552 MB / 1.265 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/1.206, allocations: 6.266 kB / 1.265 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/1.208, allocations: 1.05 MB / 1.266 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/1.209, allocations: 311.1 kB / 1.267 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/1.209, allocations: 27.34 kB / 1.267 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007378/1.21, allocations: 95.78 kB / 1.267 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.21, allocations: 83.33 kB / 1.267 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/1.21, allocations: 40.78 kB / 1.267 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006947/1.211, allocations: 499.6 kB / 1.267 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.211, allocations: 0 / 1.267 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001048/1.212, allocations: 374.4 kB / 1.268 GB, free: 163.4 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,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.002035/1.214, allocations: 0.6291 MB / 1.268 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002014/1.216, allocations: 0.9384 MB / 1.269 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.216, allocations: 5.156 kB / 1.269 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/1.217, allocations: 0.5755 MB / 1.27 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.218, allocations: 290.3 kB / 1.27 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/1.222, allocations: 2.378 MB / 1.272 GB, free: 161 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/1.223, allocations: 1.073 MB / 1.273 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001124/1.224, allocations: 282.4 kB / 1.274 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/1.224, allocations: 117 kB / 1.274 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/1.224, allocations: 0 / 1.274 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03139/1.256, allocations: 16.09 MB / 1.29 GB, free: 156.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches