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.00188/0.00188, allocations: 93.47 kB / 19.44 MB, free: 332 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.002064/0.002064, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.612/1.612, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.342/3.342, allocations: 429.5 MB / 0.6729 GB, free: 4.012 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.232e-06/1.232e-06, allocations: 0 / 0.8774 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.788e-05, allocations: 4.703 kB / 0.8774 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007767/0.007795, allocations: 4.949 MB / 0.8823 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2086/0.2164, allocations: 146.3 MB / 1.025 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008059/0.2172, allocations: 27.81 kB / 1.025 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006428/0.2178, allocations: 210 kB / 1.025 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.2197, allocations: 0.594 MB / 1.026 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.2218, allocations: 0.8763 MB / 1.027 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001859/0.2237, allocations: 1.533 MB / 1.028 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008378/0.2245, allocations: 452.5 kB / 1.029 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.2257, allocations: 0.7953 MB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007035/0.2264, allocations: 446.7 kB / 1.03 GB, free: 9.797 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.2266, allocations: 132 kB / 1.03 GB, free: 9.668 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.2277, allocations: 0.5071 MB / 1.031 GB, free: 9.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003982/0.2281, allocations: 338.9 kB / 1.031 GB, free: 8.828 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005668/0.2286, allocations: 430.9 kB / 1.031 GB, free: 8.406 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.2314, allocations: 1.916 MB / 1.033 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2314, allocations: 0 / 1.033 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2314, allocations: 0 / 1.033 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.2314, allocations: 0 / 1.033 GB, free: 6.484 MB / 0.9948 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.003283/0.2347, allocations: 1.686 MB / 1.035 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2348, allocations: 12.03 kB / 1.035 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.2368, allocations: 391.3 kB / 1.035 GB, free: 4.355 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.2382, allocations: 0.759 MB / 1.036 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.992e-05/0.2383, allocations: 78.11 kB / 1.036 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.2385, allocations: 104 kB / 1.036 GB, free: 3.391 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.2407, allocations: 1.317 MB / 1.037 GB, free: 1.965 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.2407, allocations: 3.938 kB / 1.037 GB, free: 1.961 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/0.2408, allocations: 40 kB / 1.037 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.2408, allocations: 20 kB / 1.037 GB, free: 1.902 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.243, allocations: 1.089 MB / 1.039 GB, free: 0.8125 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005862/0.2489, allocations: 3.119 MB / 1.042 GB, free: 13.6 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.2512, allocations: 0.806 MB / 1.042 GB, free: 12.78 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/0.2518, allocations: 283 kB / 1.043 GB, free: 12.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.003e-05/0.2519, allocations: 32.97 kB / 1.043 GB, free: 12.47 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.253, allocations: 0.6316 MB / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.705e-06/0.253, allocations: 0 / 1.043 GB, free: 11.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.003519/0.2565, allocations: 1.132 MB / 1.044 GB, free: 10.65 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.2566, allocations: 196.9 kB / 1.045 GB, free: 10.42 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2577, allocations: 0.7573 MB / 1.045 GB, free: 9.645 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.737e-05/0.2578, allocations: 49.7 kB / 1.045 GB, free: 9.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.2583, allocations: 0.5116 MB / 1.046 GB, free: 9.07 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003394/0.2587, allocations: 321.5 kB / 1.046 GB, free: 8.754 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003614/0.259, allocations: 224.2 kB / 1.046 GB, free: 8.527 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0005497/0.2596, allocations: 0.6172 MB / 1.047 GB, free: 7.898 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/0.2602, allocations: 253.9 kB / 1.047 GB, free: 7.648 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000931/0.2611, allocations: 0.5134 MB / 1.048 GB, free: 7.082 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.2625, allocations: 0.6124 MB / 1.048 GB, free: 6.453 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2625, allocations: 0 / 1.048 GB, free: 6.453 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002303/0.2648, allocations: 0.8988 MB / 1.049 GB, free: 5.547 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.2648, allocations: 4 kB / 1.049 GB, free: 5.543 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2648, allocations: 4 kB / 1.049 GB, free: 5.539 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.2658, allocations: 131.7 kB / 1.049 GB, free: 5.406 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008127/0.2666, allocations: 187.7 kB / 1.05 GB, free: 5.223 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.2694, allocations: 2.034 MB / 1.052 GB, free: 3.062 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.27, allocations: 83.48 kB / 1.052 GB, free: 2.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.2701, allocations: 43.91 kB / 1.052 GB, free: 2.938 MB / 1.01 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.0004911/0.2706, allocations: 287.1 kB / 1.052 GB, free: 2.648 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.2708, allocations: 119.5 kB / 1.052 GB, free: 2.531 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002691/0.2735, allocations: 1.049 MB / 1.053 GB, free: 1.469 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.2735, allocations: 8 kB / 1.053 GB, free: 1.461 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2735, allocations: 0 / 1.053 GB, free: 1.461 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.2736, allocations: 7.984 kB / 1.053 GB, free: 1.453 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3904/0.664, allocations: 2.086 MB / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.664, allocations: 2.938 kB / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/0.6646, allocations: 146.6 kB / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007552/0.6654, allocations: 129.6 kB / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-05/0.6655, allocations: 25.19 kB / 1.055 GB, free: 218.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/0.6671, allocations: 2.058 MB / 1.057 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6671, allocations: 1.188 kB / 1.057 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.6691, allocations: 1.085 MB / 1.058 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.6696, allocations: 202.2 kB / 1.059 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.6698, allocations: 24.42 kB / 1.059 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/0.6704, allocations: 50.27 kB / 1.059 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.6706, allocations: 84.45 kB / 1.059 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/0.6706, allocations: 36.3 kB / 1.059 GB, free: 216.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005278/0.6712, allocations: 491.6 kB / 1.059 GB, free: 216.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6712, allocations: 0 / 1.059 GB, free: 216.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009094/0.6721, allocations: 365.8 kB / 1.06 GB, free: 216.5 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.003339/0.6754, allocations: 0.6582 MB / 1.06 GB, free: 216.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.677, allocations: 0.9104 MB / 1.061 GB, free: 216 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.677, allocations: 3.469 kB / 1.061 GB, free: 216 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008504/0.6778, allocations: 0.5889 MB / 1.062 GB, free: 215.8 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.6791, allocations: 321.1 kB / 1.062 GB, free: 215.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.6817, allocations: 1.735 MB / 1.064 GB, free: 214.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.6821, allocations: 463.1 kB / 1.064 GB, free: 214.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007031/0.6828, allocations: 261.7 kB / 1.064 GB, free: 214.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002815/0.6831, allocations: 108.5 kB / 1.065 GB, free: 214.6 MB / 1.01 GB Notification: Performance of SimCode: time 7.01e-07/0.6831, allocations: 0 / 1.065 GB, free: 214.6 MB / 1.01 GB Notification: Performance of Templates: time 0.02359/0.7067, allocations: 16.08 MB / 1.08 GB, free: 212.7 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] 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.707143220002763]