Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004792/0.004792, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001053/0.001053, allocations: 190 kB / 16.67 MB, free: 5.977 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.439/2.439, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 65.8 kB / 0.9508 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3195, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006097/0.3257, allocations: 4.377 MB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1742/0.4999, allocations: 150.6 MB / 1.239 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001527/0.5014, allocations: 15.94 kB / 1.239 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000948/0.5024, allocations: 178.3 kB / 1.239 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00307/0.5056, allocations: 0.4953 MB / 1.24 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.5087, allocations: 0.8432 MB / 1.241 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002463/0.5112, allocations: 1.308 MB / 1.242 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.5126, allocations: 0.6911 MB / 1.243 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.5137, allocations: 0.5022 MB / 1.243 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008335/0.5146, allocations: 0.5211 MB / 1.244 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.5148, allocations: 128 kB / 1.244 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.5162, allocations: 499.5 kB / 1.244 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004052/0.5167, allocations: 307 kB / 1.245 GB, free: 452 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007335/0.5174, allocations: 0.583 MB / 1.245 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.5204, allocations: 1.694 MB / 1.247 GB, free: 14.16 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.5204, allocations: 0 / 1.247 GB, free: 14.16 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5204, allocations: 4 kB / 1.247 GB, free: 14.15 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.47e-05/0.5205, allocations: 3.984 kB / 1.247 GB, free: 14.15 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003574/0.524, allocations: 1.477 MB / 1.248 GB, free: 12.62 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.5241, allocations: 12.03 kB / 1.248 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.5257, allocations: 215.3 kB / 1.248 GB, free: 12.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.5275, allocations: 0.7811 MB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/0.5276, allocations: 66 kB / 1.249 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5278, allocations: 92 kB / 1.249 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.5301, allocations: 1.011 MB / 1.25 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.5301, allocations: 0 / 1.25 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.5303, allocations: 44 kB / 1.25 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.5303, allocations: 24 kB / 1.25 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.5323, allocations: 1.171 MB / 1.252 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/0.5366, allocations: 2.581 MB / 1.254 GB, free: 6.484 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.54, allocations: 0.9663 MB / 1.255 GB, free: 5.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008753/0.5409, allocations: 318.6 kB / 1.255 GB, free: 5.184 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.541, allocations: 36.48 kB / 1.255 GB, free: 5.148 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.5422, allocations: 0.4914 MB / 1.256 GB, free: 4.637 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.577e-06/0.5423, allocations: 4 kB / 1.256 GB, free: 4.633 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.004633/0.5469, allocations: 1.221 MB / 1.257 GB, free: 3.387 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.5471, allocations: 196.5 kB / 1.257 GB, free: 3.152 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.5483, allocations: 0.6409 MB / 1.258 GB, free: 2.504 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.5484, allocations: 45.7 kB / 1.258 GB, free: 2.453 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.5489, allocations: 420.3 kB / 1.258 GB, free: 2.035 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.5492, allocations: 264.2 kB / 1.259 GB, free: 1.773 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003346/0.5496, allocations: 162.5 kB / 1.259 GB, free: 1.605 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002131/0.5498, allocations: 390.8 kB / 1.259 GB, free: 1.215 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008058/0.5506, allocations: 273.8 kB / 1.259 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00098/0.5516, allocations: 375 kB / 1.26 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7065/1.258, allocations: 0.6193 MB / 1.26 GB, free: 173 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/1.258, allocations: 0.9062 kB / 1.26 GB, free: 173 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002824/1.261, allocations: 0.8736 MB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/1.261, allocations: 6.547 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.261, allocations: 0.8438 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000643/1.262, allocations: 82.78 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007394/1.262, allocations: 166.6 kB / 1.261 GB, free: 173 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/1.264, allocations: 1.628 MB / 1.263 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/1.265, allocations: 89.97 kB / 1.263 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/1.265, allocations: 39.89 kB / 1.263 GB, free: 171.6 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0006221/1.266, allocations: 282.4 kB / 1.263 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/1.266, allocations: 86.47 kB / 1.263 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/1.269, allocations: 1.09 MB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.269, allocations: 9.406 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/1.269, allocations: 5.391 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.269, allocations: 4.547 kB / 1.265 GB, free: 171.4 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/1.273, allocations: 2.013 MB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.273, allocations: 4.672 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/1.274, allocations: 152.4 kB / 1.267 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004588/1.275, allocations: 73.75 kB / 1.267 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.916e-05/1.275, allocations: 25.7 kB / 1.267 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/1.276, allocations: 1.663 MB / 1.268 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.276, allocations: 0.8125 kB / 1.268 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/1.279, allocations: 1.029 MB / 1.269 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/1.279, allocations: 273.5 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/1.279, allocations: 18.34 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/1.28, allocations: 69.5 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/1.28, allocations: 68.75 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/1.28, allocations: 37.77 kB / 1.27 GB, free: 168.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007041/1.281, allocations: 465.8 kB / 1.27 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.71e-07/1.281, allocations: 1 kB / 1.27 GB, free: 168.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001212/1.282, allocations: 328.2 kB / 1.271 GB, free: 168 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001439/1.284, allocations: 0.6115 MB / 1.271 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002016/1.286, allocations: 0.8531 MB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.286, allocations: 0.8438 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/1.287, allocations: 0.5327 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.288, allocations: 293.9 kB / 1.273 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/1.293, allocations: 1.821 MB / 1.275 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/1.293, allocations: 1.047 MB / 1.276 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000865/1.294, allocations: 262.4 kB / 1.276 GB, free: 165.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/1.294, allocations: 116 kB / 1.276 GB, free: 165.4 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.294, allocations: 0 / 1.276 GB, free: 165.4 MB / 1.014 GB Notification: Performance of Templates: time 0.02945/1.324, allocations: 15.29 MB / 1.291 GB, free: 162 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches