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.00154/0.00154, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.00173/0.00173, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.596/1.596, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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 3.249/3.249, allocations: 429.6 MB / 0.673 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.604e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.008/0.008026, allocations: 4.655 MB / 0.8821 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1949/0.2029, allocations: 132.8 MB / 1.012 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008934/0.2038, allocations: 27.81 kB / 1.012 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0008125/0.2046, allocations: 214 kB / 1.012 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.2071, allocations: 0.5901 MB / 1.013 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.2094, allocations: 0.8764 MB / 1.013 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.2116, allocations: 1.537 MB / 1.015 GB, free: 9.324 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008794/0.2125, allocations: 452.5 kB / 1.015 GB, free: 8.863 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.2137, allocations: 0.803 MB / 1.016 GB, free: 8.059 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006673/0.2144, allocations: 438.7 kB / 1.017 GB, free: 7.629 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.2146, allocations: 140 kB / 1.017 GB, free: 7.492 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.2158, allocations: 0.4993 MB / 1.017 GB, free: 6.992 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005476/0.2164, allocations: 338.9 kB / 1.018 GB, free: 6.66 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0008371/0.2172, allocations: 426.9 kB / 1.018 GB, free: 6.242 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.004119/0.2213, allocations: 1.927 MB / 1.02 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2213, allocations: 0 / 1.02 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2213, allocations: 0 / 1.02 GB, free: 4.309 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.61e-05/0.2214, allocations: 0 / 1.02 GB, free: 4.309 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003262/0.2246, allocations: 1.493 MB / 1.021 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2247, allocations: 12.03 kB / 1.021 GB, free: 2.762 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.2268, allocations: 399.3 kB / 1.022 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.2284, allocations: 0.764 MB / 1.022 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.2285, allocations: 82.12 kB / 1.022 GB, free: 1.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.2287, allocations: 100 kB / 1.023 GB, free: 1.402 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.231, allocations: 1.282 MB / 1.024 GB, free: 24 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.231, allocations: 4 kB / 1.024 GB, free: 20 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.2311, allocations: 40.06 kB / 1.024 GB, free: 15.98 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.2312, allocations: 24 kB / 1.024 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.2334, allocations: 1.132 MB / 1.025 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005309/0.2387, allocations: 2.326 MB / 1.027 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.2415, allocations: 0.8961 MB / 1.028 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.2421, allocations: 319 kB / 1.028 GB, free: 11.24 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-05/0.2422, allocations: 32.91 kB / 1.028 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.2434, allocations: 0.6322 MB / 1.029 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=90): time 2.645e-06/0.2434, allocations: 4 kB / 1.029 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of matching and sorting (n=90): time 0.003898/0.2473, allocations: 1.235 MB / 1.03 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.2475, allocations: 196.9 kB / 1.031 GB, free: 9.055 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009486/0.2484, allocations: 0.6017 MB / 1.031 GB, free: 8.441 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.662e-05/0.2485, allocations: 49.7 kB / 1.031 GB, free: 8.387 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004538/0.249, allocations: 437.2 kB / 1.032 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.2493, allocations: 293.5 kB / 1.032 GB, free: 7.664 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/0.2496, allocations: 190.5 kB / 1.032 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002533/0.2499, allocations: 394.7 kB / 1.032 GB, free: 7.078 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007078/0.2506, allocations: 301.8 kB / 1.033 GB, free: 6.781 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.2517, allocations: 0.523 MB / 1.033 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.2532, allocations: 0.6677 MB / 1.034 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2532, allocations: 0 / 1.034 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00257/0.2557, allocations: 0.9741 MB / 1.035 GB, free: 4.551 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2558, allocations: 4 kB / 1.035 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2558, allocations: 0 / 1.035 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.2568, allocations: 140.8 kB / 1.035 GB, free: 4.406 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.2576, allocations: 167.8 kB / 1.035 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.26, allocations: 1.508 MB / 1.037 GB, free: 2.629 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/0.2609, allocations: 95.62 kB / 1.037 GB, free: 2.535 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.865e-05/0.2609, allocations: 39.98 kB / 1.037 GB, free: 2.496 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (109): * Single equations (assignments): 108 * 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.0005571/0.2615, allocations: 284.2 kB / 1.037 GB, free: 2.207 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.2618, allocations: 115.4 kB / 1.037 GB, free: 2.094 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.2646, allocations: 1.124 MB / 1.038 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.2646, allocations: 12 kB / 1.038 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2646, allocations: 0 / 1.038 GB, free: 0.9414 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.2646, allocations: 7.969 kB / 1.038 GB, free: 0.9336 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004221/0.2689, allocations: 1.95 MB / 1.04 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2689, allocations: 11.88 kB / 1.04 GB, free: 14.92 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/0.2698, allocations: 147.8 kB / 1.04 GB, free: 14.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007786/0.2706, allocations: 124.7 kB / 1.04 GB, free: 14.65 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.2706, allocations: 23.98 kB / 1.04 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.2729, allocations: 1.528 MB / 1.042 GB, free: 12.99 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2729, allocations: 32 / 1.042 GB, free: 12.99 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.2755, allocations: 1.092 MB / 1.043 GB, free: 11.88 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.276, allocations: 211.1 kB / 1.043 GB, free: 11.68 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.2761, allocations: 35.86 kB / 1.043 GB, free: 11.64 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.2768, allocations: 63.94 kB / 1.043 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.277, allocations: 80.84 kB / 1.043 GB, free: 11.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/0.2771, allocations: 31.98 kB / 1.043 GB, free: 11.47 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006986/0.2778, allocations: 435 kB / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.2778, allocations: 0 / 1.044 GB, free: 11.05 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001412/0.2792, allocations: 363 kB / 1.044 GB, free: 10.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002802/0.282, allocations: 0.6662 MB / 1.045 GB, free: 10.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.2844, allocations: 0.8625 MB / 1.046 GB, free: 9.348 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.2844, allocations: 4 kB / 1.046 GB, free: 9.344 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.2855, allocations: 0.5079 MB / 1.046 GB, free: 8.824 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.2869, allocations: 336.9 kB / 1.046 GB, free: 8.52 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003869/0.2908, allocations: 1.81 MB / 1.048 GB, free: 6.676 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.2914, allocations: 466.6 kB / 1.049 GB, free: 6.188 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009316/0.2923, allocations: 266.7 kB / 1.049 GB, free: 5.922 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/0.2927, allocations: 116.4 kB / 1.049 GB, free: 5.805 MB / 1.01 GB Notification: Performance of SimCode: time 7.41e-07/0.2927, allocations: 0 / 1.049 GB, free: 5.805 MB / 1.01 GB Notification: Performance of Templates: time 0.3727/0.6654, allocations: 16 MB / 1.065 GB, free: 217 MB / 1.01 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 -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/jenkins/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.6888342309976]