Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001624/0.001624, allocations: 75.75 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.001799/0.001799, allocations: 160.1 kB / 23.01 MB, free: 4.602 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.541/1.541, allocations: 177.2 MB / 203.4 MB, free: 9.008 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.765/2.765, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002341/0.002341, allocations: 63.91 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9434/0.9458, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005463/0.9512, allocations: 4.652 MB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1788/1.13, allocations: 132.7 MB / 1.288 GB, free: 4.758 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/1.131, allocations: 24.03 kB / 1.288 GB, free: 4.746 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009141/1.132, allocations: 206.9 kB / 1.288 GB, free: 4.605 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002462/1.134, allocations: 0.5814 MB / 1.289 GB, free: 4.254 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002877/1.137, allocations: 0.8597 MB / 1.29 GB, free: 3.785 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002575/1.14, allocations: 1.467 MB / 1.291 GB, free: 3.02 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/1.141, allocations: 450 kB / 1.292 GB, free: 2.758 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/1.142, allocations: 0.5393 MB / 1.292 GB, free: 2.492 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008378/1.143, allocations: 0.4963 MB / 1.293 GB, free: 2.254 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002085/1.143, allocations: 127.7 kB / 1.293 GB, free: 2.254 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/1.144, allocations: 0.4965 MB / 1.293 GB, free: 2.137 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003796/1.145, allocations: 322.4 kB / 1.293 GB, free: 1.93 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006354/1.145, allocations: 0.4948 MB / 1.294 GB, free: 1.637 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/1.148, allocations: 1.798 MB / 1.296 GB, free: 0.875 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.148, allocations: 0 / 1.296 GB, free: 0.875 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.903e-06/1.148, allocations: 4 kB / 1.296 GB, free: 0.8711 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.989e-05/1.148, allocations: 1.125 kB / 1.296 GB, free: 0.8711 MB / 1.139 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.003072/1.151, allocations: 1.485 MB / 1.297 GB, free: 15.9 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.151, allocations: 9.828 kB / 1.297 GB, free: 15.9 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/1.153, allocations: 279.5 kB / 1.297 GB, free: 15.82 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/1.154, allocations: 0.7464 MB / 1.298 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/1.154, allocations: 73.59 kB / 1.298 GB, free: 15.25 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/1.155, allocations: 92.12 kB / 1.298 GB, free: 15.21 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/1.157, allocations: 1.256 MB / 1.3 GB, free: 14.27 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/1.157, allocations: 1.312 kB / 1.3 GB, free: 14.27 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.157, allocations: 44.64 kB / 1.3 GB, free: 14.24 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/1.157, allocations: 23.81 kB / 1.3 GB, free: 14.24 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/1.159, allocations: 1.129 MB / 1.301 GB, free: 13.68 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/1.163, allocations: 2.164 MB / 1.303 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/1.166, allocations: 0.8505 MB / 1.304 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006185/1.166, allocations: 293.4 kB / 1.304 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.139e-05/1.166, allocations: 22.94 kB / 1.304 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/1.167, allocations: 0.6041 MB / 1.305 GB, free: 11.05 MB / 1.154 GB Notification: Performance of pre-optimization done (n=82): time 2.535e-06/1.167, allocations: 1.156 kB / 1.305 GB, free: 11.05 MB / 1.154 GB Notification: Performance of matching and sorting (n=82): time 0.003627/1.171, allocations: 1.155 MB / 1.306 GB, free: 10.47 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/1.171, allocations: 189.6 kB / 1.306 GB, free: 10.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009079/1.172, allocations: 0.6021 MB / 1.306 GB, free: 9.895 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/1.172, allocations: 47.25 kB / 1.306 GB, free: 9.848 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/1.172, allocations: 430.8 kB / 1.307 GB, free: 9.473 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/1.173, allocations: 290.4 kB / 1.307 GB, free: 9.219 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/1.173, allocations: 164.2 kB / 1.307 GB, free: 9.121 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002322/1.173, allocations: 380.6 kB / 1.308 GB, free: 8.758 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/1.174, allocations: 280.7 kB / 1.308 GB, free: 8.621 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/1.175, allocations: 499.2 kB / 1.308 GB, free: 8.254 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/1.176, allocations: 0.6294 MB / 1.309 GB, free: 7.914 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/1.176, allocations: 1.438 kB / 1.309 GB, free: 7.914 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002131/1.178, allocations: 0.8666 MB / 1.31 GB, free: 7.473 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.178, allocations: 8.75 kB / 1.31 GB, free: 7.469 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.178, allocations: 5.188 kB / 1.31 GB, free: 7.465 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006111/1.179, allocations: 81.27 kB / 1.31 GB, free: 7.426 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/1.179, allocations: 175.9 kB / 1.31 GB, free: 7.375 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/1.182, allocations: 1.499 MB / 1.312 GB, free: 5.945 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008519/1.183, allocations: 82.73 kB / 1.312 GB, free: 5.895 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/1.183, allocations: 40 kB / 1.312 GB, free: 5.879 MB / 1.154 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.0005781/1.183, allocations: 285.1 kB / 1.312 GB, free: 5.656 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/1.184, allocations: 82.27 kB / 1.312 GB, free: 5.613 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/1.186, allocations: 1.094 MB / 1.313 GB, free: 4.996 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.186, allocations: 13.75 kB / 1.313 GB, free: 4.992 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/1.186, allocations: 0 / 1.313 GB, free: 4.992 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.186, allocations: 3.984 kB / 1.313 GB, free: 4.988 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003668/1.19, allocations: 1.741 MB / 1.315 GB, free: 3.273 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.19, allocations: 0 / 1.315 GB, free: 3.273 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/1.191, allocations: 155.8 kB / 1.315 GB, free: 3.121 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/1.191, allocations: 68.78 kB / 1.315 GB, free: 3.051 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.836e-05/1.191, allocations: 27.98 kB / 1.315 GB, free: 3.023 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/1.193, allocations: 1.524 MB / 1.317 GB, free: 1.391 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.193, allocations: 144 / 1.317 GB, free: 1.391 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002334/1.196, allocations: 1.03 MB / 1.318 GB, free: 348 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/1.196, allocations: 199.1 kB / 1.318 GB, free: 148 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.196, allocations: 20 kB / 1.318 GB, free: 128 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/1.197, allocations: 63.92 kB / 1.318 GB, free: 64 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/1.197, allocations: 72.91 kB / 1.318 GB, free: 15.99 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/1.197, allocations: 43.92 kB / 1.318 GB, free: 15.95 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006737/1.198, allocations: 443 kB / 1.318 GB, free: 15.52 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.01e-07/1.198, allocations: 0 / 1.318 GB, free: 15.52 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001203/1.199, allocations: 347 kB / 1.319 GB, free: 15.18 MB / 1.17 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.002186/1.201, allocations: 0.6401 MB / 1.319 GB, free: 14.75 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001982/1.203, allocations: 0.8233 MB / 1.32 GB, free: 13.91 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.203, allocations: 3.984 kB / 1.32 GB, free: 13.91 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/1.204, allocations: 0.5004 MB / 1.321 GB, free: 13.4 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/1.206, allocations: 295.8 kB / 1.321 GB, free: 13.12 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/1.209, allocations: 1.762 MB / 1.323 GB, free: 11.34 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/1.21, allocations: 462.3 kB / 1.323 GB, free: 10.86 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008893/1.211, allocations: 278.4 kB / 1.323 GB, free: 10.58 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/1.211, allocations: 108.4 kB / 1.323 GB, free: 10.47 MB / 1.17 GB Notification: Performance of SimCode: time 9.22e-07/1.211, allocations: 0 / 1.323 GB, free: 10.47 MB / 1.17 GB Notification: Performance of Templates: time 0.02898/1.24, allocations: 15.52 MB / 1.339 GB, free: 11.25 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.858018286991864]