Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001345/0.001345, allocations: 81.86 kB / 19.76 MB, free: 2.027 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.001437/0.001437, allocations: 159.7 kB / 23.01 MB, free: 4.961 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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.901/2.901, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002322/0.002322, allocations: 68.19 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9165/0.9188, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006333/0.9252, allocations: 4.661 MB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1804/1.106, allocations: 132.7 MB / 1.321 GB, free: 12.53 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/1.107, allocations: 23.81 kB / 1.321 GB, free: 12.51 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006577/1.107, allocations: 206.1 kB / 1.321 GB, free: 12.3 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/1.109, allocations: 0.5793 MB / 1.322 GB, free: 11.73 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/1.112, allocations: 0.8708 MB / 1.322 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001732/1.113, allocations: 1.463 MB / 1.324 GB, free: 9.391 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008018/1.114, allocations: 448.6 kB / 1.324 GB, free: 8.926 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007687/1.115, allocations: 0.5373 MB / 1.325 GB, free: 8.387 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/1.116, allocations: 0.4937 MB / 1.325 GB, free: 7.891 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/1.116, allocations: 128 kB / 1.325 GB, free: 7.766 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/1.117, allocations: 0.4957 MB / 1.326 GB, free: 7.27 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003413/1.117, allocations: 327 kB / 1.326 GB, free: 6.949 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005329/1.118, allocations: 0.4937 MB / 1.327 GB, free: 6.453 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/1.12, allocations: 1.794 MB / 1.328 GB, free: 4.656 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.12, allocations: 0 / 1.328 GB, free: 4.656 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.272e-06/1.12, allocations: 3.938 kB / 1.328 GB, free: 4.652 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.486e-05/1.12, allocations: 0 / 1.328 GB, free: 4.652 MB / 1.17 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.002708/1.123, allocations: 1.481 MB / 1.33 GB, free: 3.133 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/1.123, allocations: 8.031 kB / 1.33 GB, free: 3.125 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.125, allocations: 279.9 kB / 1.33 GB, free: 2.852 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.126, allocations: 0.7376 MB / 1.331 GB, free: 2.09 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.573e-05/1.126, allocations: 78 kB / 1.331 GB, free: 2.012 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/1.126, allocations: 92 kB / 1.331 GB, free: 1.922 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/1.128, allocations: 1.258 MB / 1.332 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/1.128, allocations: 0 / 1.332 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/1.128, allocations: 51.92 kB / 1.332 GB, free: 0.5156 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/1.128, allocations: 20 kB / 1.332 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/1.13, allocations: 1.128 MB / 1.333 GB, free: 15.37 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004287/1.135, allocations: 2.184 MB / 1.336 GB, free: 13.14 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/1.137, allocations: 0.8445 MB / 1.336 GB, free: 12.29 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/1.138, allocations: 290.7 kB / 1.337 GB, free: 12 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-05/1.138, allocations: 28.62 kB / 1.337 GB, free: 11.97 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/1.139, allocations: 0.5973 MB / 1.337 GB, free: 11.33 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 3.166e-06/1.139, allocations: 0 / 1.337 GB, free: 11.33 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.00347/1.143, allocations: 1.154 MB / 1.338 GB, free: 10.17 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.143, allocations: 192.6 kB / 1.339 GB, free: 9.938 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/1.143, allocations: 0.6016 MB / 1.339 GB, free: 9.324 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.96e-05/1.144, allocations: 41.7 kB / 1.339 GB, free: 9.277 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004005/1.144, allocations: 441 kB / 1.34 GB, free: 8.84 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/1.144, allocations: 289.6 kB / 1.34 GB, free: 8.555 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/1.144, allocations: 162.6 kB / 1.34 GB, free: 8.391 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000221/1.145, allocations: 382.8 kB / 1.34 GB, free: 8.008 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006146/1.145, allocations: 273.8 kB / 1.341 GB, free: 7.742 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008088/1.146, allocations: 499.6 kB / 1.341 GB, free: 7.211 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/1.147, allocations: 0.6307 MB / 1.342 GB, free: 6.57 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.147, allocations: 0 / 1.342 GB, free: 6.57 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002243/1.15, allocations: 0.8687 MB / 1.343 GB, free: 5.688 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.15, allocations: 16.03 kB / 1.343 GB, free: 5.672 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/1.15, allocations: 0 / 1.343 GB, free: 5.672 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006268/1.15, allocations: 84.7 kB / 1.343 GB, free: 5.586 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/1.151, allocations: 171.8 kB / 1.343 GB, free: 5.418 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/1.153, allocations: 1.5 MB / 1.344 GB, free: 3.812 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/1.154, allocations: 83.69 kB / 1.344 GB, free: 3.73 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/1.154, allocations: 35.97 kB / 1.344 GB, free: 3.695 MB / 1.186 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.0004656/1.155, allocations: 287.8 kB / 1.345 GB, free: 3.406 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/1.155, allocations: 87.38 kB / 1.345 GB, free: 3.32 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00267/1.157, allocations: 1.093 MB / 1.346 GB, free: 2.215 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.158, allocations: 11.94 kB / 1.346 GB, free: 2.203 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/1.158, allocations: 0 / 1.346 GB, free: 2.203 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.158, allocations: 3.984 kB / 1.346 GB, free: 2.199 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/1.161, allocations: 1.732 MB / 1.348 GB, free: 436 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.161, allocations: 4 kB / 1.348 GB, free: 432 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/1.162, allocations: 147.8 kB / 1.348 GB, free: 284 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/1.162, allocations: 72.78 kB / 1.348 GB, free: 208 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/1.162, allocations: 27.98 kB / 1.348 GB, free: 180 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/1.164, allocations: 1.532 MB / 1.349 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.164, allocations: 0 / 1.349 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/1.166, allocations: 1.026 MB / 1.35 GB, free: 13.49 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/1.167, allocations: 199.1 kB / 1.351 GB, free: 13.29 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.167, allocations: 24 kB / 1.351 GB, free: 13.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/1.168, allocations: 65.95 kB / 1.351 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/1.168, allocations: 76.86 kB / 1.351 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/1.168, allocations: 35.97 kB / 1.351 GB, free: 13.1 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005889/1.169, allocations: 435.1 kB / 1.351 GB, free: 12.68 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.169, allocations: 0 / 1.351 GB, free: 12.68 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009641/1.169, allocations: 355 kB / 1.351 GB, free: 12.33 MB / 1.201 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.002168/1.172, allocations: 0.6339 MB / 1.352 GB, free: 11.89 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002017/1.174, allocations: 0.8195 MB / 1.353 GB, free: 11.06 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.174, allocations: 0 / 1.353 GB, free: 11.06 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/1.175, allocations: 0.5081 MB / 1.353 GB, free: 10.54 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/1.176, allocations: 299.6 kB / 1.354 GB, free: 10.27 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/1.18, allocations: 1.765 MB / 1.355 GB, free: 8.48 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005765/1.18, allocations: 462.1 kB / 1.356 GB, free: 8 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008479/1.181, allocations: 274.4 kB / 1.356 GB, free: 7.727 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002928/1.181, allocations: 108.4 kB / 1.356 GB, free: 7.617 MB / 1.201 GB Notification: Performance of SimCode: time 5.31e-07/1.181, allocations: 0 / 1.356 GB, free: 7.617 MB / 1.201 GB Notification: Performance of Templates: time 0.02946/1.211, allocations: 15.53 MB / 1.371 GB, free: 8.371 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.793758897925727]