Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002187, allocations: 192.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 59.91 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.878/0.8799, allocations: 160.8 MB / 1.218 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008508/0.8884, allocations: 5.192 MB / 1.224 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.2689/1.157, allocations: 151.3 MB / 1.371 GB, free: 10.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001768/1.159, allocations: 23.81 kB / 1.371 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/1.16, allocations: 202.1 kB / 1.371 GB, free: 9.996 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003515/1.164, allocations: 0.5703 MB / 1.372 GB, free: 9.426 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003877/1.168, allocations: 0.8724 MB / 1.373 GB, free: 8.559 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003211/1.171, allocations: 1.456 MB / 1.374 GB, free: 7.094 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/1.172, allocations: 464.6 kB / 1.375 GB, free: 6.613 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001258/1.173, allocations: 0.5255 MB / 1.375 GB, free: 6.086 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/1.175, allocations: 0.5446 MB / 1.376 GB, free: 5.539 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003077/1.175, allocations: 124 kB / 1.376 GB, free: 5.418 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001739/1.177, allocations: 0.4957 MB / 1.376 GB, free: 4.922 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004964/1.177, allocations: 311 kB / 1.377 GB, free: 4.617 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/1.178, allocations: 0.6064 MB / 1.377 GB, free: 4.008 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003685/1.182, allocations: 1.746 MB / 1.379 GB, free: 2.258 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/1.182, allocations: 0 / 1.379 GB, free: 2.258 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.794e-06/1.182, allocations: 0 / 1.379 GB, free: 2.258 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.951e-05/1.182, allocations: 0 / 1.379 GB, free: 2.258 MB / 1.076 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.004634/1.187, allocations: 1.533 MB / 1.38 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/1.187, allocations: 8.031 kB / 1.38 GB, free: 0.668 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/1.189, allocations: 224 kB / 1.381 GB, free: 460 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/1.191, allocations: 0.7854 MB / 1.381 GB, free: 15.62 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/1.191, allocations: 70 kB / 1.382 GB, free: 15.55 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/1.191, allocations: 92 kB / 1.382 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00309/1.194, allocations: 1.007 MB / 1.383 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/1.194, allocations: 4 kB / 1.383 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/1.195, allocations: 43.98 kB / 1.383 GB, free: 14.37 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-05/1.195, allocations: 24 kB / 1.383 GB, free: 14.34 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003565/1.198, allocations: 1.167 MB / 1.384 GB, free: 13.18 MB / 1.092 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.005978/1.204, allocations: 2.86 MB / 1.387 GB, free: 10.19 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/1.207, allocations: 0.9338 MB / 1.388 GB, free: 9.23 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000701/1.208, allocations: 282.6 kB / 1.388 GB, free: 8.949 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/1.208, allocations: 36.59 kB / 1.388 GB, free: 8.914 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/1.209, allocations: 0.5086 MB / 1.388 GB, free: 8.387 MB / 1.092 GB Notification: Performance of pre-optimization done (n=82): time 3.015e-06/1.209, allocations: 0 / 1.388 GB, free: 8.387 MB / 1.092 GB Notification: Performance of matching and sorting (n=82): time 0.003624/1.212, allocations: 1.233 MB / 1.39 GB, free: 7.129 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.213, allocations: 188.6 kB / 1.39 GB, free: 6.902 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/1.214, allocations: 0.6371 MB / 1.39 GB, free: 6.262 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/1.214, allocations: 49.69 kB / 1.39 GB, free: 6.207 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/1.214, allocations: 429 kB / 1.391 GB, free: 5.781 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003533/1.215, allocations: 281.7 kB / 1.391 GB, free: 5.504 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002923/1.215, allocations: 166.5 kB / 1.391 GB, free: 5.336 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000282/1.215, allocations: 390.7 kB / 1.392 GB, free: 4.945 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/1.216, allocations: 273.8 kB / 1.392 GB, free: 4.676 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007476/1.217, allocations: 375.1 kB / 1.392 GB, free: 4.293 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/1.218, allocations: 0.619 MB / 1.393 GB, free: 3.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.218, allocations: 4 kB / 1.393 GB, free: 3.656 MB / 1.092 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002352/1.22, allocations: 0.8803 MB / 1.394 GB, free: 2.77 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/1.22, allocations: 8 kB / 1.394 GB, free: 2.762 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.22, allocations: 0 / 1.394 GB, free: 2.762 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/1.221, allocations: 80.88 kB / 1.394 GB, free: 2.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007678/1.222, allocations: 167.8 kB / 1.394 GB, free: 2.516 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/1.224, allocations: 1.634 MB / 1.396 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009017/1.225, allocations: 99.47 kB / 1.396 GB, free: 0.6367 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.225, allocations: 39.97 kB / 1.396 GB, free: 0.5977 MB / 1.092 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.0005858/1.226, allocations: 271.4 kB / 1.396 GB, free: 332 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/1.226, allocations: 83.48 kB / 1.396 GB, free: 248 kB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/1.229, allocations: 1.105 MB / 1.397 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.229, allocations: 8 kB / 1.397 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.229, allocations: 0 / 1.397 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/1.229, allocations: 7.984 kB / 1.397 GB, free: 15.1 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004003/1.233, allocations: 2.001 MB / 1.399 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.233, allocations: 0 / 1.399 GB, free: 13.04 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007247/1.234, allocations: 155.8 kB / 1.399 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004584/1.234, allocations: 76.7 kB / 1.399 GB, free: 12.81 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/1.234, allocations: 23.98 kB / 1.399 GB, free: 12.79 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002192/1.236, allocations: 1.654 MB / 1.401 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.237, allocations: 3.938 kB / 1.401 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/1.239, allocations: 1.026 MB / 1.402 GB, free: 9.938 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/1.239, allocations: 288.1 kB / 1.402 GB, free: 9.637 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/1.24, allocations: 20 kB / 1.402 GB, free: 9.617 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/1.24, allocations: 66.42 kB / 1.402 GB, free: 9.555 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/1.241, allocations: 72.86 kB / 1.402 GB, free: 9.48 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/1.241, allocations: 47.91 kB / 1.402 GB, free: 9.434 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007417/1.241, allocations: 467 kB / 1.403 GB, free: 8.98 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.241, allocations: 0 / 1.403 GB, free: 8.98 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001102/1.242, allocations: 343.1 kB / 1.403 GB, free: 8.645 MB / 1.107 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.002075/1.245, allocations: 0.599 MB / 1.404 GB, free: 8.219 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002026/1.247, allocations: 0.8194 MB / 1.405 GB, free: 7.391 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.247, allocations: 0 / 1.405 GB, free: 7.391 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/1.248, allocations: 0.512 MB / 1.405 GB, free: 6.867 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/1.249, allocations: 307.3 kB / 1.405 GB, free: 6.586 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/1.253, allocations: 1.743 MB / 1.407 GB, free: 4.812 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.254, allocations: 1.043 MB / 1.408 GB, free: 3.738 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009372/1.255, allocations: 278.8 kB / 1.408 GB, free: 3.461 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/1.255, allocations: 111.4 kB / 1.408 GB, free: 3.355 MB / 1.107 GB Notification: Performance of SimCode: time 8.12e-07/1.255, allocations: 0 / 1.408 GB, free: 3.355 MB / 1.107 GB Notification: Performance of Templates: time 0.03332/1.288, allocations: 16.28 MB / 1.424 GB, free: 3.219 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.788721173070371]