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.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.001608/0.001608, allocations: 110 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.001916/0.001916, allocations: 192.7 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.517/1.517, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.373/3.373, allocations: 0.4893 GB / 0.7884 GB, free: 33.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_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 0.001965/0.001965, allocations: 64.64 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3266, allocations: 174.9 MB / 1.316 GB, free: 9.703 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007185/0.3338, allocations: 5.19 MB / 1.321 GB, free: 4.488 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1986/0.5324, allocations: 151.3 MB / 1.469 GB, free: 12.64 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009813/0.5334, allocations: 23.81 kB / 1.469 GB, free: 12.62 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.534, allocations: 198.2 kB / 1.469 GB, free: 12.42 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/0.5359, allocations: 0.5702 MB / 1.47 GB, free: 11.85 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.538, allocations: 0.8782 MB / 1.47 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.5399, allocations: 1.444 MB / 1.472 GB, free: 9.531 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008737/0.5408, allocations: 472.5 kB / 1.472 GB, free: 9.043 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008077/0.5416, allocations: 0.5334 MB / 1.473 GB, free: 8.508 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006852/0.5423, allocations: 0.5368 MB / 1.473 GB, free: 7.969 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.5425, allocations: 132 kB / 1.473 GB, free: 7.84 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5435, allocations: 499.6 kB / 1.474 GB, free: 7.352 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/0.5439, allocations: 326.9 kB / 1.474 GB, free: 7.031 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000621/0.5445, allocations: 0.5947 MB / 1.475 GB, free: 6.434 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002424/0.5469, allocations: 1.739 MB / 1.477 GB, free: 4.688 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5469, allocations: 4 kB / 1.477 GB, free: 4.684 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5469, allocations: 0 / 1.477 GB, free: 4.684 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.5469, allocations: 0 / 1.477 GB, free: 4.684 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.002916/0.5498, allocations: 1.466 MB / 1.478 GB, free: 3.18 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.5499, allocations: 8.031 kB / 1.478 GB, free: 3.172 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/0.5511, allocations: 220 kB / 1.478 GB, free: 2.957 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.5524, allocations: 0.7134 MB / 1.479 GB, free: 2.219 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-05/0.5525, allocations: 74 kB / 1.479 GB, free: 2.148 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.5526, allocations: 91.98 kB / 1.479 GB, free: 2.059 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.5546, allocations: 1.007 MB / 1.48 GB, free: 1.012 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.5546, allocations: 0 / 1.48 GB, free: 1.012 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-05/0.5547, allocations: 36 kB / 1.48 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.5547, allocations: 24 kB / 1.48 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/0.5573, allocations: 1.182 MB / 1.481 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005095/0.5624, allocations: 2.906 MB / 1.484 GB, free: 12.71 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.5649, allocations: 0.8566 MB / 1.485 GB, free: 11.85 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006798/0.5656, allocations: 286.7 kB / 1.485 GB, free: 11.56 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.024e-05/0.5657, allocations: 28.61 kB / 1.485 GB, free: 11.54 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.5667, allocations: 0.5086 MB / 1.486 GB, free: 11.01 MB / 1.186 GB Notification: Performance of pre-optimization done (n=82): time 2.154e-06/0.5667, allocations: 0 / 1.486 GB, free: 11.01 MB / 1.186 GB Notification: Performance of matching and sorting (n=82): time 0.003582/0.5702, allocations: 1.158 MB / 1.487 GB, free: 9.844 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.5704, allocations: 200.5 kB / 1.487 GB, free: 9.605 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009264/0.5713, allocations: 0.6371 MB / 1.488 GB, free: 8.965 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.161e-05/0.5714, allocations: 41.7 kB / 1.488 GB, free: 8.918 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004028/0.5718, allocations: 433 kB / 1.488 GB, free: 8.488 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.572, allocations: 281.6 kB / 1.488 GB, free: 8.211 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002838/0.5723, allocations: 162.6 kB / 1.489 GB, free: 8.047 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.5725, allocations: 390.7 kB / 1.489 GB, free: 7.656 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006103/0.5732, allocations: 277.8 kB / 1.489 GB, free: 7.383 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007519/0.5739, allocations: 375.1 kB / 1.489 GB, free: 7.008 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.5753, allocations: 0.6268 MB / 1.49 GB, free: 6.371 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5753, allocations: 0 / 1.49 GB, free: 6.371 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002232/0.5775, allocations: 0.8765 MB / 1.491 GB, free: 5.48 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5775, allocations: 8 kB / 1.491 GB, free: 5.473 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.5775, allocations: 0 / 1.491 GB, free: 5.473 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/0.5782, allocations: 84.77 kB / 1.491 GB, free: 5.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.5789, allocations: 167.8 kB / 1.491 GB, free: 5.223 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.5813, allocations: 1.523 MB / 1.493 GB, free: 3.582 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/0.5822, allocations: 107.4 kB / 1.493 GB, free: 3.477 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.091e-05/0.5823, allocations: 31.97 kB / 1.493 GB, free: 3.445 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.0005521/0.5828, allocations: 276.4 kB / 1.493 GB, free: 3.168 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.5831, allocations: 91.42 kB / 1.493 GB, free: 3.078 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.5858, allocations: 1.093 MB / 1.494 GB, free: 1.965 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.5858, allocations: 15.98 kB / 1.494 GB, free: 1.949 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5859, allocations: 3.938 kB / 1.494 GB, free: 1.945 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.5859, allocations: 3.984 kB / 1.494 GB, free: 1.941 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003996/0.5899, allocations: 1.969 MB / 1.496 GB, free: 15.92 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.5899, allocations: 0 / 1.496 GB, free: 15.92 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/0.5905, allocations: 155.8 kB / 1.496 GB, free: 15.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.591, allocations: 72.78 kB / 1.496 GB, free: 15.7 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.5911, allocations: 27.98 kB / 1.496 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.5932, allocations: 1.558 MB / 1.498 GB, free: 13.99 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5932, allocations: 0 / 1.498 GB, free: 13.99 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.5955, allocations: 1.022 MB / 1.499 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.596, allocations: 207.1 kB / 1.499 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.5962, allocations: 20 kB / 1.499 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007058/0.5969, allocations: 67.92 kB / 1.499 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.597, allocations: 76.86 kB / 1.499 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.5971, allocations: 35.97 kB / 1.499 GB, free: 12.55 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006777/0.5978, allocations: 467 kB / 1.5 GB, free: 12.09 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5978, allocations: 0 / 1.5 GB, free: 12.09 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001005/0.5988, allocations: 343.1 kB / 1.5 GB, free: 11.76 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.001988/0.6008, allocations: 0.6076 MB / 1.501 GB, free: 11.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002053/0.6028, allocations: 0.8235 MB / 1.502 GB, free: 10.49 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.6028, allocations: 4 kB / 1.502 GB, free: 10.48 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.6039, allocations: 0.504 MB / 1.502 GB, free: 9.965 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.6053, allocations: 311.7 kB / 1.502 GB, free: 9.684 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003429/0.6087, allocations: 1.747 MB / 1.504 GB, free: 7.91 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009356/0.6096, allocations: 1.047 MB / 1.505 GB, free: 6.832 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001013/0.6106, allocations: 274.8 kB / 1.505 GB, free: 6.559 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.611, allocations: 107.3 kB / 1.505 GB, free: 6.453 MB / 1.201 GB Notification: Performance of SimCode: time 1.553e-06/0.611, allocations: 0 / 1.505 GB, free: 6.453 MB / 1.201 GB Notification: Performance of Templates: time 0.03362/0.6446, allocations: 16.28 MB / 1.521 GB, free: 6.367 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 -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: 10.010621099732816]