Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.002394/0.002394, allocations: 93.47 kB / 19.44 MB, free: 336 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.002844/0.002844, allocations: 173.6 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.578/1.578, 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.352/3.352, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0.875 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.503e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007718/0.007743, allocations: 4.637 MB / 0.8819 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2089/0.2166, allocations: 146.3 MB / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008289/0.2174, allocations: 23.81 kB / 1.025 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005973/0.218, allocations: 202.1 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.2197, allocations: 0.5669 MB / 1.026 GB, free: 14.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.2218, allocations: 0.8802 MB / 1.026 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.2236, allocations: 1.467 MB / 1.028 GB, free: 12.09 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007358/0.2243, allocations: 397.8 kB / 1.028 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.2254, allocations: 0.7446 MB / 1.029 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006264/0.2261, allocations: 410.8 kB / 1.029 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.2263, allocations: 124 kB / 1.029 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009894/0.2273, allocations: 0.4916 MB / 1.03 GB, free: 9.926 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003583/0.2276, allocations: 318.9 kB / 1.03 GB, free: 9.613 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005008/0.2281, allocations: 399 kB / 1.031 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.2305, allocations: 1.83 MB / 1.032 GB, free: 7.387 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2305, allocations: 0 / 1.032 GB, free: 7.387 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2305, allocations: 0 / 1.032 GB, free: 7.387 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.2305, allocations: 0 / 1.032 GB, free: 7.387 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002897/0.2334, allocations: 1.605 MB / 1.034 GB, free: 5.734 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2334, allocations: 12.03 kB / 1.034 GB, free: 5.723 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.2351, allocations: 343.5 kB / 1.034 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.2364, allocations: 0.7279 MB / 1.035 GB, free: 4.633 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.847e-05/0.2365, allocations: 70.12 kB / 1.035 GB, free: 4.562 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.2367, allocations: 95.98 kB / 1.035 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.2387, allocations: 1.227 MB / 1.036 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.2387, allocations: 0 / 1.036 GB, free: 3.129 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.899e-05/0.2388, allocations: 36 kB / 1.036 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.2389, allocations: 24 kB / 1.036 GB, free: 3.07 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.2407, allocations: 1.022 MB / 1.037 GB, free: 2.047 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005298/0.246, allocations: 3.118 MB / 1.04 GB, free: 14.83 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.2476, allocations: 0.749 MB / 1.041 GB, free: 14.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005648/0.2482, allocations: 280.8 kB / 1.041 GB, free: 13.8 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.829e-05/0.2483, allocations: 28.64 kB / 1.042 GB, free: 13.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.2493, allocations: 0.6274 MB / 1.042 GB, free: 13.1 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 2.315e-06/0.2493, allocations: 0 / 1.042 GB, free: 13.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.003441/0.2528, allocations: 1.085 MB / 1.043 GB, free: 12 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/0.2529, allocations: 204.8 kB / 1.043 GB, free: 11.76 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.254, allocations: 0.7534 MB / 1.044 GB, free: 10.99 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.047e-05/0.254, allocations: 49.69 kB / 1.044 GB, free: 10.94 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/0.2545, allocations: 492 kB / 1.045 GB, free: 10.45 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.2548, allocations: 313.5 kB / 1.045 GB, free: 10.14 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.2552, allocations: 216.2 kB / 1.045 GB, free: 9.922 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004215/0.2556, allocations: 0.6133 MB / 1.046 GB, free: 9.297 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.2561, allocations: 249.9 kB / 1.046 GB, free: 9.051 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008093/0.2569, allocations: 0.5096 MB / 1.046 GB, free: 8.492 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.2581, allocations: 0.5889 MB / 1.047 GB, free: 7.891 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2581, allocations: 0 / 1.047 GB, free: 7.891 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002177/0.2603, allocations: 0.8793 MB / 1.048 GB, free: 6.996 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2603, allocations: 4 kB / 1.048 GB, free: 6.992 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.2603, allocations: 4 kB / 1.048 GB, free: 6.988 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.2614, allocations: 143.6 kB / 1.048 GB, free: 6.844 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.2621, allocations: 175.7 kB / 1.048 GB, free: 6.672 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.2652, allocations: 2.042 MB / 1.05 GB, free: 4.504 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000659/0.2658, allocations: 79.48 kB / 1.05 GB, free: 4.426 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.672e-05/0.2659, allocations: 43.97 kB / 1.05 GB, free: 4.383 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 (106): * Single equations (assignments): 105 * 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.0004701/0.2664, allocations: 291.2 kB / 1.051 GB, free: 4.086 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.2666, allocations: 111.5 kB / 1.051 GB, free: 3.977 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.2691, allocations: 1.018 MB / 1.052 GB, free: 2.941 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.2691, allocations: 12 kB / 1.052 GB, free: 2.93 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2691, allocations: 0 / 1.052 GB, free: 2.93 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.2691, allocations: 3.984 kB / 1.052 GB, free: 2.926 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/0.2732, allocations: 2.052 MB / 1.054 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2732, allocations: 0 / 1.054 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005922/0.2738, allocations: 143.8 kB / 1.054 GB, free: 0.6758 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007861/0.2746, allocations: 123.5 kB / 1.054 GB, free: 0.5508 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/0.2746, allocations: 35.91 kB / 1.054 GB, free: 0.5156 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3942/0.6688, allocations: 2.061 MB / 1.056 GB, free: 217.5 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.6688, allocations: 0 / 1.056 GB, free: 217.5 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.6707, allocations: 1.07 MB / 1.057 GB, free: 217.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.6711, allocations: 200 kB / 1.057 GB, free: 217.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.6712, allocations: 28.06 kB / 1.057 GB, free: 217.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.6718, allocations: 48.47 kB / 1.057 GB, free: 217.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.6719, allocations: 78.98 kB / 1.057 GB, free: 217.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/0.672, allocations: 35.41 kB / 1.057 GB, free: 217.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004652/0.6724, allocations: 486.7 kB / 1.058 GB, free: 217.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6724, allocations: 0 / 1.058 GB, free: 217.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008455/0.6733, allocations: 339.9 kB / 1.058 GB, free: 217.1 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 (97): * Single equations (assignments): 86 * 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.003213/0.6765, allocations: 0.6483 MB / 1.059 GB, free: 217 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.678, allocations: 0.8874 MB / 1.06 GB, free: 216.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.678, allocations: 0 / 1.06 GB, free: 216.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.6788, allocations: 0.585 MB / 1.06 GB, free: 216.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.68, allocations: 327.2 kB / 1.061 GB, free: 216.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.6824, allocations: 1.642 MB / 1.062 GB, free: 215.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.6827, allocations: 433.6 kB / 1.063 GB, free: 215.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006619/0.6834, allocations: 261.2 kB / 1.063 GB, free: 215.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.6836, allocations: 110.6 kB / 1.063 GB, free: 215.3 MB / 1.01 GB Notification: Performance of SimCode: time 9.32e-07/0.6836, allocations: 0 / 1.063 GB, free: 215.3 MB / 1.01 GB Notification: Performance of Templates: time 0.0225/0.7061, allocations: 15.82 MB / 1.078 GB, free: 213.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.703092984040268]