Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001958/0.001958, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.00261/0.00261, allocations: 168.3 kB / 22.46 MB, free: 5.363 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.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.914/2.914, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 1 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.221e-05, allocations: 2.281 kB / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007457/0.007489, allocations: 4.689 MB / 1.005 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8838/0.8913, allocations: 132.8 MB / 1.134 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007703/0.892, allocations: 23.31 kB / 1.134 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.8926, allocations: 213.3 kB / 1.135 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.8943, allocations: 0.5961 MB / 1.135 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.8961, allocations: 0.8919 MB / 1.136 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.8975, allocations: 1.551 MB / 1.138 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006727/0.8982, allocations: 460.4 kB / 1.138 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009142/0.8991, allocations: 0.8087 MB / 1.139 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005252/0.8997, allocations: 451.7 kB / 1.139 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.8998, allocations: 137.1 kB / 1.139 GB, free: 45.13 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009654/0.9008, allocations: 0.503 MB / 1.14 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002635/0.901, allocations: 343.5 kB / 1.14 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.9014, allocations: 436.9 kB / 1.141 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.9033, allocations: 1.936 MB / 1.142 GB, free: 45 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.9033, allocations: 1.938 kB / 1.142 GB, free: 45 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9033, allocations: 0 / 1.142 GB, free: 45 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.1e-05/0.9034, allocations: 0.875 kB / 1.142 GB, free: 45 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002491/0.9059, allocations: 1.507 MB / 1.144 GB, free: 44.25 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.9059, allocations: 8.875 kB / 1.144 GB, free: 44.25 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.9084, allocations: 371.5 kB / 1.144 GB, free: 44.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.9096, allocations: 0.746 MB / 1.145 GB, free: 43.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.038e-05/0.9097, allocations: 75.5 kB / 1.145 GB, free: 43.93 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.9098, allocations: 107.5 kB / 1.145 GB, free: 43.93 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.9117, allocations: 1.343 MB / 1.147 GB, free: 43.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.9117, allocations: 3.938 kB / 1.147 GB, free: 43.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.415e-05/0.9118, allocations: 45.84 kB / 1.147 GB, free: 43.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.9118, allocations: 23.34 kB / 1.147 GB, free: 43.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.9138, allocations: 1.231 MB / 1.148 GB, free: 43.46 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004374/0.9182, allocations: 2.398 MB / 1.15 GB, free: 42.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.9207, allocations: 0.9473 MB / 1.151 GB, free: 42.77 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/0.9214, allocations: 352.6 kB / 1.151 GB, free: 42.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.232e-05/0.9215, allocations: 27.38 kB / 1.151 GB, free: 42.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.9225, allocations: 0.6885 MB / 1.152 GB, free: 42.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=92): time 2.615e-06/0.9225, allocations: 0 / 1.152 GB, free: 42.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=92): time 0.003754/0.9263, allocations: 1.344 MB / 1.153 GB, free: 42.45 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.9264, allocations: 204.3 kB / 1.154 GB, free: 42.22 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006615/0.927, allocations: 0.6046 MB / 1.154 GB, free: 42.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.512e-05/0.9271, allocations: 51.66 kB / 1.154 GB, free: 42.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.9274, allocations: 435.7 kB / 1.155 GB, free: 41.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.9275, allocations: 309.9 kB / 1.155 GB, free: 41.64 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.9278, allocations: 186 kB / 1.155 GB, free: 41.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.9278, allocations: 390.2 kB / 1.155 GB, free: 41.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007431/0.9286, allocations: 355.7 kB / 1.156 GB, free: 41.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000847/0.9294, allocations: 0.5658 MB / 1.156 GB, free: 41.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.9309, allocations: 0.7526 MB / 1.157 GB, free: 41.05 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9309, allocations: 0 / 1.157 GB, free: 41.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002397/0.9333, allocations: 1.039 MB / 1.158 GB, free: 40.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.9334, allocations: 3.906 kB / 1.158 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.9334, allocations: 3.953 kB / 1.158 GB, free: 40.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006118/0.934, allocations: 84.16 kB / 1.158 GB, free: 40.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.9348, allocations: 193.6 kB / 1.158 GB, free: 40.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.9365, allocations: 1.51 MB / 1.16 GB, free: 39.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009538/0.9375, allocations: 116 kB / 1.16 GB, free: 39.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.9375, allocations: 39.94 kB / 1.16 GB, free: 39.68 MB / 1.076 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 (111): * Single equations (assignments): 110 * 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.0005282/0.9381, allocations: 284.5 kB / 1.16 GB, free: 39.56 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.9382, allocations: 90.55 kB / 1.16 GB, free: 39.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/0.941, allocations: 1.223 MB / 1.162 GB, free: 39.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.941, allocations: 11.91 kB / 1.162 GB, free: 39.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.941, allocations: 2.141 kB / 1.162 GB, free: 39.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.941, allocations: 6.797 kB / 1.162 GB, free: 39.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/0.9447, allocations: 2.083 MB / 1.164 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.9447, allocations: 0 / 1.164 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007346/0.9455, allocations: 183.9 kB / 1.164 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.9459, allocations: 72.67 kB / 1.164 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/0.946, allocations: 25.75 kB / 1.164 GB, free: 39.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.9475, allocations: 1.52 MB / 1.165 GB, free: 37.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.9475, allocations: 0.9688 kB / 1.165 GB, free: 37.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.9503, allocations: 1.149 MB / 1.167 GB, free: 37.58 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005034/0.9508, allocations: 210.8 kB / 1.167 GB, free: 37.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.9509, allocations: 30.47 kB / 1.167 GB, free: 37.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009071/0.9518, allocations: 85.77 kB / 1.167 GB, free: 37.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.952, allocations: 78.58 kB / 1.167 GB, free: 37.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.761e-05/0.9521, allocations: 40.56 kB / 1.167 GB, free: 37.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005852/0.9527, allocations: 438.7 kB / 1.167 GB, free: 37.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9527, allocations: 2.219 kB / 1.167 GB, free: 37.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001089/0.9538, allocations: 365.2 kB / 1.168 GB, free: 37.36 MB / 1.076 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 (104): * Single equations (assignments): 93 * 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.002073/0.9559, allocations: 0.6685 MB / 1.168 GB, free: 37.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002288/0.9582, allocations: 0.9612 MB / 1.169 GB, free: 37.03 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.9582, allocations: 2.328 kB / 1.169 GB, free: 37.03 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.9593, allocations: 0.5698 MB / 1.17 GB, free: 36.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.9606, allocations: 294.5 kB / 1.17 GB, free: 36.88 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.9637, allocations: 1.839 MB / 1.172 GB, free: 36.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.9641, allocations: 472.8 kB / 1.172 GB, free: 36.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008535/0.965, allocations: 278.4 kB / 1.173 GB, free: 36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.9653, allocations: 113.1 kB / 1.173 GB, free: 35.99 MB / 1.076 GB Notification: Performance of SimCode: time 8.82e-07/0.9653, allocations: 5.125 kB / 1.173 GB, free: 35.98 MB / 1.076 GB Notification: Performance of Templates: time 0.03157/0.9969, allocations: 16.26 MB / 1.189 GB, free: 34.14 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.09396356344223]