Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007209/0.007209, allocations: 101.2 kB / 15.73 MB, free: 6.031 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.001648/0.001648, allocations: 198.5 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 62.44 kB / 0.9508 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00563/0.2855, allocations: 4.499 MB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1954/0.4809, allocations: 150.7 MB / 1.239 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007968/0.4817, allocations: 19.88 kB / 1.239 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006611/0.4824, allocations: 178.3 kB / 1.24 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.4842, allocations: 0.5133 MB / 1.24 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.4864, allocations: 0.8851 MB / 1.241 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001531/0.4879, allocations: 1.386 MB / 1.242 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000902/0.4888, allocations: 0.6376 MB / 1.243 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006805/0.4895, allocations: 0.5022 MB / 1.243 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006746/0.4902, allocations: 0.5289 MB / 1.244 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.4904, allocations: 120 kB / 1.244 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008699/0.4913, allocations: 0.5074 MB / 1.245 GB, free: 384 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.4916, allocations: 314.9 kB / 1.245 GB, free: 68 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.4921, allocations: 0.5713 MB / 1.245 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.494, allocations: 1.69 MB / 1.247 GB, free: 13.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.494, allocations: 3.938 kB / 1.247 GB, free: 13.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/0.494, allocations: 0 / 1.247 GB, free: 13.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.759e-05/0.4941, allocations: 0 / 1.247 GB, free: 13.79 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002796/0.4969, allocations: 1.487 MB / 1.249 GB, free: 12.25 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.4969, allocations: 11.97 kB / 1.249 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009343/0.4979, allocations: 187.3 kB / 1.249 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.499, allocations: 0.7897 MB / 1.25 GB, free: 11.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.4991, allocations: 66 kB / 1.25 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.4992, allocations: 88 kB / 1.25 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.5009, allocations: 0.9808 MB / 1.251 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.5009, allocations: 0 / 1.251 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.501, allocations: 36 kB / 1.251 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.501, allocations: 24 kB / 1.251 GB, free: 9.992 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001826/0.5029, allocations: 1.155 MB / 1.252 GB, free: 8.836 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.507, allocations: 2.667 MB / 1.254 GB, free: 6.098 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.5089, allocations: 0.9811 MB / 1.255 GB, free: 5.098 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005492/0.5095, allocations: 326.7 kB / 1.256 GB, free: 4.777 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.183e-05/0.5096, allocations: 36.59 kB / 1.256 GB, free: 4.742 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009086/0.5105, allocations: 0.5412 MB / 1.256 GB, free: 4.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.745e-06/0.5105, allocations: 0 / 1.256 GB, free: 4.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003273/0.5138, allocations: 1.29 MB / 1.258 GB, free: 2.867 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.5139, allocations: 188.9 kB / 1.258 GB, free: 2.637 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.5149, allocations: 0.6605 MB / 1.258 GB, free: 1.973 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.5149, allocations: 41.7 kB / 1.258 GB, free: 1.926 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.5152, allocations: 408.5 kB / 1.259 GB, free: 1.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.5154, allocations: 291.8 kB / 1.259 GB, free: 1.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.5157, allocations: 174.5 kB / 1.259 GB, free: 1.055 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5159, allocations: 386.8 kB / 1.26 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.5164, allocations: 293.8 kB / 1.26 GB, free: 392 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6141/1.13, allocations: 387.1 kB / 1.26 GB, free: 173.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/1.132, allocations: 0.6517 MB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.132, allocations: 0.9062 kB / 1.261 GB, free: 173.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002362/1.134, allocations: 0.9176 MB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/1.134, allocations: 5.656 kB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.134, allocations: 1.719 kB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/1.135, allocations: 81.75 kB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/1.136, allocations: 178.7 kB / 1.262 GB, free: 173.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/1.138, allocations: 1.626 MB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009433/1.139, allocations: 109.5 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/1.139, allocations: 40.98 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0004834/1.139, allocations: 280.2 kB / 1.264 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/1.14, allocations: 87.41 kB / 1.264 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/1.142, allocations: 1.186 MB / 1.265 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/1.142, allocations: 10.28 kB / 1.265 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.142, allocations: 5.25 kB / 1.265 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/1.142, allocations: 8.562 kB / 1.265 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004107/1.147, allocations: 2.102 MB / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.147, allocations: 4.688 kB / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/1.147, allocations: 166.4 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005202/1.148, allocations: 74.12 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.853e-05/1.148, allocations: 34.44 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/1.15, allocations: 1.66 MB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.15, allocations: 1.094 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/1.152, allocations: 1.093 MB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/1.153, allocations: 285.9 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/1.153, allocations: 23.44 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/1.154, allocations: 69.31 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/1.154, allocations: 81.95 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-05/1.154, allocations: 40.31 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007479/1.155, allocations: 470.5 kB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.155, allocations: 0 / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001215/1.156, allocations: 340 kB / 1.272 GB, free: 167.8 MB / 1.014 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 (106): * Single equations (assignments): 99 * 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.00156/1.158, allocations: 0.6242 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002321/1.16, allocations: 0.9069 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.16, allocations: 1.031 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/1.161, allocations: 0.5592 MB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.163, allocations: 303.3 kB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/1.166, allocations: 1.85 MB / 1.276 GB, free: 166 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006043/1.167, allocations: 1.047 MB / 1.277 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009166/1.168, allocations: 281.8 kB / 1.277 GB, free: 165.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/1.168, allocations: 115.1 kB / 1.277 GB, free: 165.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.102e-06/1.168, allocations: 2.516 kB / 1.277 GB, free: 165.2 MB / 1.014 GB Notification: Performance of Templates: time 0.03537/1.204, allocations: 16.23 MB / 1.293 GB, free: 161.1 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches