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.001565/0.001565, allocations: 108 kB / 15.6 MB, free: 132 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.001699/0.001699, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 482.6 MB / 0.7549 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 68.73 kB / 0.9241 GB, free: 29.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3304, allocations: 162.3 MB / 1.083 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.007661/0.3381, allocations: 5.358 MB / 1.088 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1866/0.5247, allocations: 150.8 MB / 1.235 GB, free: 236 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.5258, allocations: 15.94 kB / 1.235 GB, free: 220 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007251/0.5265, allocations: 202 kB / 1.235 GB, free: 16 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.5288, allocations: 0.6086 MB / 1.236 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.5309, allocations: 0.8835 MB / 1.237 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.5328, allocations: 1.549 MB / 1.238 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.5338, allocations: 0.6797 MB / 1.239 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008282/0.5347, allocations: 0.5567 MB / 1.239 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007675/0.5355, allocations: 0.5912 MB / 1.24 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.5357, allocations: 136 kB / 1.24 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.5367, allocations: 0.4957 MB / 1.241 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003386/0.537, allocations: 334.9 kB / 1.241 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000682/0.5377, allocations: 0.6569 MB / 1.242 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.5399, allocations: 1.807 MB / 1.243 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5399, allocations: 0 / 1.243 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5399, allocations: 0 / 1.243 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.679e-05/0.54, allocations: 0 / 1.243 GB, free: 7.695 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.003318/0.5433, allocations: 1.581 MB / 1.245 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.5434, allocations: 12.03 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009755/0.5443, allocations: 203.2 kB / 1.245 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.5456, allocations: 0.7935 MB / 1.246 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.5457, allocations: 74.02 kB / 1.246 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.5458, allocations: 99.98 kB / 1.246 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.5477, allocations: 1.067 MB / 1.247 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.5477, allocations: 0 / 1.247 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.633e-05/0.5478, allocations: 44 kB / 1.247 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.5479, allocations: 24 kB / 1.247 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.55, allocations: 1.221 MB / 1.248 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5728/1.123, allocations: 3.289 MB / 1.252 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/1.125, allocations: 0.8888 MB / 1.252 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/1.125, allocations: 343.8 kB / 1.253 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.463e-05/1.125, allocations: 37.58 kB / 1.253 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/1.126, allocations: 0.554 MB / 1.253 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=92): time 2.796e-06/1.126, allocations: 0 / 1.253 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=92): time 0.00413/1.131, allocations: 1.343 MB / 1.255 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.131, allocations: 195 kB / 1.255 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/1.132, allocations: 0.6812 MB / 1.255 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/1.132, allocations: 47.94 kB / 1.256 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004936/1.133, allocations: 443.2 kB / 1.256 GB, free: 171 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003026/1.133, allocations: 295.6 kB / 1.256 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004037/1.134, allocations: 191 kB / 1.256 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002152/1.134, allocations: 393.9 kB / 1.257 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/1.135, allocations: 303.5 kB / 1.257 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007963/1.135, allocations: 411.4 kB / 1.257 GB, free: 170 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001323/1.137, allocations: 0.6906 MB / 1.258 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.137, allocations: 0.8438 kB / 1.258 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00229/1.139, allocations: 0.9578 MB / 1.259 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.139, allocations: 9.016 kB / 1.259 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.139, allocations: 4.844 kB / 1.259 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/1.14, allocations: 82.86 kB / 1.259 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/1.14, allocations: 181 kB / 1.259 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/1.142, allocations: 1.633 MB / 1.261 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/1.143, allocations: 109.1 kB / 1.261 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/1.143, allocations: 41.61 kB / 1.261 GB, free: 167.7 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.0004943/1.144, allocations: 284.2 kB / 1.261 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/1.144, allocations: 97.17 kB / 1.261 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/1.147, allocations: 1.228 MB / 1.263 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.147, allocations: 10.97 kB / 1.263 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.147, allocations: 1.031 kB / 1.263 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/1.147, allocations: 8.938 kB / 1.263 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/1.148, allocations: 1.005 MB / 1.264 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.148, allocations: 3.938 kB / 1.264 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/1.149, allocations: 163.2 kB / 1.264 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/1.149, allocations: 77.61 kB / 1.264 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.2e-05/1.149, allocations: 31.56 kB / 1.264 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/1.151, allocations: 1.657 MB / 1.266 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.151, allocations: 3.938 kB / 1.266 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/1.153, allocations: 1.044 MB / 1.267 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003567/1.153, allocations: 296.9 kB / 1.267 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/1.153, allocations: 27.69 kB / 1.267 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/1.154, allocations: 68.81 kB / 1.267 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/1.154, allocations: 84.5 kB / 1.267 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/1.154, allocations: 44.77 kB / 1.267 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006992/1.155, allocations: 0.4922 MB / 1.268 GB, free: 164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.71e-07/1.155, allocations: 0 / 1.268 GB, free: 164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001352/1.156, allocations: 380.4 kB / 1.268 GB, free: 163.9 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.001974/1.158, allocations: 0.6264 MB / 1.269 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002852/1.161, allocations: 1.163 MB / 1.27 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.161, allocations: 192 / 1.27 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.162, allocations: 0.5711 MB / 1.27 GB, free: 163 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/1.164, allocations: 310.2 kB / 1.271 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/1.167, allocations: 1.878 MB / 1.272 GB, free: 162 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/1.168, allocations: 1.073 MB / 1.273 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009916/1.169, allocations: 283.2 kB / 1.274 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/1.169, allocations: 124.3 kB / 1.274 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.169, allocations: 0 / 1.274 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.04142/1.21, allocations: 16.91 MB / 1.29 GB, free: 156.5 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