Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 79.73 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 156.2 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.716/2.716, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.91 kB / 0.9515 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8592/0.8614, allocations: 169.9 MB / 1.117 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005853/0.8672, allocations: 4.653 MB / 1.122 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1857/1.053, allocations: 132.7 MB / 1.252 GB, free: 2.41 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/1.054, allocations: 23.81 kB / 1.252 GB, free: 2.398 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0008404/1.055, allocations: 203.8 kB / 1.252 GB, free: 2.219 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002378/1.057, allocations: 0.5865 MB / 1.252 GB, free: 1.777 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002426/1.06, allocations: 0.8702 MB / 1.253 GB, free: 1.113 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001963/1.062, allocations: 1.471 MB / 1.255 GB, free: 15.63 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000866/1.063, allocations: 440.5 kB / 1.255 GB, free: 15.18 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008047/1.063, allocations: 0.545 MB / 1.256 GB, free: 14.63 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000928/1.064, allocations: 0.4899 MB / 1.256 GB, free: 14.14 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002553/1.065, allocations: 128 kB / 1.256 GB, free: 14.01 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/1.066, allocations: 0.4918 MB / 1.257 GB, free: 13.52 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/1.066, allocations: 326.9 kB / 1.257 GB, free: 13.2 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006141/1.067, allocations: 0.4976 MB / 1.257 GB, free: 12.7 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/1.069, allocations: 1.797 MB / 1.259 GB, free: 10.9 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/1.069, allocations: 7.938 kB / 1.259 GB, free: 10.89 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.893e-06/1.069, allocations: 0 / 1.259 GB, free: 10.89 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.928e-05/1.069, allocations: 3.984 kB / 1.259 GB, free: 10.89 MB / 1.107 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.002755/1.072, allocations: 1.481 MB / 1.261 GB, free: 9.375 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/1.072, allocations: 8.031 kB / 1.261 GB, free: 9.367 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/1.074, allocations: 279.9 kB / 1.261 GB, free: 9.094 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/1.075, allocations: 0.7338 MB / 1.262 GB, free: 8.332 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.694e-05/1.075, allocations: 70 kB / 1.262 GB, free: 8.262 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/1.075, allocations: 95.98 kB / 1.262 GB, free: 8.168 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/1.077, allocations: 1.258 MB / 1.263 GB, free: 6.812 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/1.077, allocations: 3.938 kB / 1.263 GB, free: 6.809 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/1.077, allocations: 40 kB / 1.263 GB, free: 6.77 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.324e-05/1.077, allocations: 27.94 kB / 1.263 GB, free: 6.742 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/1.08, allocations: 1.132 MB / 1.264 GB, free: 5.609 MB / 1.107 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.004281/1.084, allocations: 2.169 MB / 1.266 GB, free: 3.391 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/1.086, allocations: 0.8517 MB / 1.267 GB, free: 2.531 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/1.087, allocations: 290.7 kB / 1.267 GB, free: 2.246 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.633e-05/1.087, allocations: 20.64 kB / 1.267 GB, free: 2.227 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/1.088, allocations: 0.6076 MB / 1.268 GB, free: 1.574 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/1.088, allocations: 0 / 1.268 GB, free: 1.574 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003609/1.092, allocations: 1.154 MB / 1.269 GB, free: 420 kB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/1.092, allocations: 192.6 kB / 1.269 GB, free: 184 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009424/1.093, allocations: 0.5978 MB / 1.27 GB, free: 15.57 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/1.093, allocations: 45.7 kB / 1.27 GB, free: 15.52 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/1.093, allocations: 437 kB / 1.27 GB, free: 15.09 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/1.094, allocations: 289.6 kB / 1.271 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/1.094, allocations: 166.6 kB / 1.271 GB, free: 14.63 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.094, allocations: 374.8 kB / 1.271 GB, free: 14.26 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/1.095, allocations: 277.8 kB / 1.272 GB, free: 13.98 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/1.096, allocations: 0.4918 MB / 1.272 GB, free: 13.45 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/1.097, allocations: 0.6268 MB / 1.273 GB, free: 12.81 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.097, allocations: 0 / 1.273 GB, free: 12.81 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00222/1.099, allocations: 0.8764 MB / 1.273 GB, free: 11.93 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/1.099, allocations: 11.94 kB / 1.273 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.099, allocations: 8.031 kB / 1.273 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/1.1, allocations: 76.78 kB / 1.274 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/1.101, allocations: 171.8 kB / 1.274 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/1.103, allocations: 1.5 MB / 1.275 GB, free: 10.05 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/1.104, allocations: 87.56 kB / 1.275 GB, free: 9.961 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-05/1.104, allocations: 35.97 kB / 1.275 GB, free: 9.926 MB / 1.123 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.0004706/1.104, allocations: 279.7 kB / 1.276 GB, free: 9.645 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/1.104, allocations: 79.48 kB / 1.276 GB, free: 9.566 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/1.107, allocations: 1.096 MB / 1.277 GB, free: 8.461 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/1.107, allocations: 11.94 kB / 1.277 GB, free: 8.449 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.107, allocations: 3.984 kB / 1.277 GB, free: 8.445 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.107, allocations: 7.969 kB / 1.277 GB, free: 8.438 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/1.111, allocations: 1.732 MB / 1.278 GB, free: 6.664 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.111, allocations: 0 / 1.278 GB, free: 6.664 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006629/1.111, allocations: 159.8 kB / 1.279 GB, free: 6.508 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/1.112, allocations: 68.78 kB / 1.279 GB, free: 6.438 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.727e-05/1.112, allocations: 27.97 kB / 1.279 GB, free: 6.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/1.114, allocations: 1.524 MB / 1.28 GB, free: 4.777 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.114, allocations: 4.062 kB / 1.28 GB, free: 4.773 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/1.116, allocations: 1.026 MB / 1.281 GB, free: 3.73 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/1.116, allocations: 191.1 kB / 1.281 GB, free: 3.543 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.117, allocations: 27.98 kB / 1.281 GB, free: 3.516 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/1.117, allocations: 59.94 kB / 1.281 GB, free: 3.457 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.117, allocations: 76.84 kB / 1.281 GB, free: 3.379 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.993e-05/1.118, allocations: 35.98 kB / 1.282 GB, free: 3.344 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005745/1.118, allocations: 439 kB / 1.282 GB, free: 2.922 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.118, allocations: 0 / 1.282 GB, free: 2.922 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009729/1.119, allocations: 355 kB / 1.282 GB, free: 2.574 MB / 1.123 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.002207/1.121, allocations: 0.642 MB / 1.283 GB, free: 2.137 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001942/1.123, allocations: 0.8272 MB / 1.284 GB, free: 1.301 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.123, allocations: 0 / 1.284 GB, free: 1.301 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/1.124, allocations: 0.5004 MB / 1.284 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/1.126, allocations: 288.8 kB / 1.284 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/1.129, allocations: 1.761 MB / 1.286 GB, free: 14.73 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/1.13, allocations: 466.3 kB / 1.287 GB, free: 14.24 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008557/1.13, allocations: 270.4 kB / 1.287 GB, free: 13.97 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002988/1.131, allocations: 108.4 kB / 1.287 GB, free: 13.87 MB / 1.139 GB Notification: Performance of SimCode: time 9.12e-07/1.131, allocations: 0 / 1.287 GB, free: 13.87 MB / 1.139 GB Notification: Performance of Templates: time 0.02789/1.159, allocations: 15.53 MB / 1.302 GB, free: 14.62 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.308613014989533]