Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001396/0.001396, allocations: 80.73 kB / 19.43 MB, free: 360 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.001635/0.001635, 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.526/1.526, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.296/3.296, allocations: 429.6 MB / 0.673 GB, free: 3.891 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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.344e-05, allocations: 3.672 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.01452/0.01455, allocations: 4.692 MB / 0.8822 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1965/0.2111, allocations: 132.8 MB / 1.012 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008517/0.2119, allocations: 23.81 kB / 1.012 GB, free: 12.43 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007855/0.2127, allocations: 210.1 kB / 1.012 GB, free: 12.22 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.215, allocations: 0.594 MB / 1.013 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.2174, allocations: 0.9036 MB / 1.014 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.002215/0.2196, allocations: 1.545 MB / 1.015 GB, free: 9.164 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009876/0.2206, allocations: 452.7 kB / 1.016 GB, free: 8.703 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.2221, allocations: 0.8031 MB / 1.016 GB, free: 7.898 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008024/0.2229, allocations: 446.7 kB / 1.017 GB, free: 7.461 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.2232, allocations: 132 kB / 1.017 GB, free: 7.332 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.2244, allocations: 0.5266 MB / 1.017 GB, free: 6.805 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.2248, allocations: 330.9 kB / 1.018 GB, free: 6.48 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0006455/0.2254, allocations: 434.9 kB / 1.018 GB, free: 6.055 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.2284, allocations: 1.939 MB / 1.02 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2284, allocations: 4 kB / 1.02 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2284, allocations: 0 / 1.02 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.157e-05/0.2285, allocations: 0 / 1.02 GB, free: 4.105 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003483/0.232, allocations: 1.512 MB / 1.021 GB, free: 2.551 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.232, allocations: 8.031 kB / 1.021 GB, free: 2.543 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/0.2443, allocations: 1.92 MB / 1.023 GB, free: 0.6211 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002046/0.2464, allocations: 0.7961 MB / 1.024 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.691e-05/0.2465, allocations: 78.12 kB / 1.024 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.2467, allocations: 100 kB / 1.024 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007148/0.2539, allocations: 2.153 MB / 1.026 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.2539, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.254, allocations: 40 kB / 1.026 GB, free: 13.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.2541, allocations: 24 kB / 1.026 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.2655, allocations: 2.767 MB / 1.029 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0126/0.2781, allocations: 4.715 MB / 1.034 GB, free: 5.148 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006722/0.2848, allocations: 1.65 MB / 1.035 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005231/0.29, allocations: 1.113 MB / 1.036 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.2902, allocations: 37.06 kB / 1.037 GB, free: 2.344 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005921/0.2961, allocations: 1.483 MB / 1.038 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=90): time 3.115e-06/0.2961, allocations: 0 / 1.038 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of matching and sorting (n=90): time 0.01698/0.3131, allocations: 3.545 MB / 1.041 GB, free: 13.27 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001777/0.3132, allocations: 204.9 kB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3144, allocations: 0.6017 MB / 1.042 GB, free: 12.41 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.3145, allocations: 53.69 kB / 1.042 GB, free: 12.36 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/0.3151, allocations: 449.2 kB / 1.043 GB, free: 11.91 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000392/0.3155, allocations: 293.5 kB / 1.043 GB, free: 11.62 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.3159, allocations: 190.5 kB / 1.043 GB, free: 11.43 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002698/0.3162, allocations: 394.7 kB / 1.044 GB, free: 11.03 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005281/0.3215, allocations: 1.099 MB / 1.045 GB, free: 9.934 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005458/0.3269, allocations: 1.339 MB / 1.046 GB, free: 8.547 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009496/0.3364, allocations: 2.038 MB / 1.048 GB, free: 6.496 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.3364, allocations: 0 / 1.048 GB, free: 6.496 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01109/0.3475, allocations: 2.473 MB / 1.05 GB, free: 4.016 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.3475, allocations: 11.94 kB / 1.05 GB, free: 4.004 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3475, allocations: 0 / 1.05 GB, free: 4.004 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000998/0.3485, allocations: 132.8 kB / 1.05 GB, free: 3.871 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/0.3515, allocations: 495.5 kB / 1.051 GB, free: 3.387 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/0.3541, allocations: 1.508 MB / 1.052 GB, free: 1.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.3572, allocations: 415.2 kB / 1.053 GB, free: 1.363 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.3574, allocations: 43.97 kB / 1.053 GB, free: 1.32 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.0007248/0.3581, allocations: 288.5 kB / 1.053 GB, free: 1.027 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004202/0.3586, allocations: 115.4 kB / 1.053 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4284/0.787, allocations: 2.67 MB / 1.056 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.787, allocations: 11.31 kB / 1.056 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.787, allocations: 0 / 1.056 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.787, allocations: 5.062 kB / 1.056 GB, free: 220 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/0.7981, allocations: 4.315 MB / 1.06 GB, free: 218.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.7981, allocations: 0 / 1.06 GB, free: 218.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002492/0.8006, allocations: 473.8 kB / 1.06 GB, free: 218.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007746/0.8014, allocations: 123.4 kB / 1.061 GB, free: 218 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.8015, allocations: 27.14 kB / 1.061 GB, free: 218 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.8033, allocations: 1.526 MB / 1.062 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8033, allocations: 3.938 kB / 1.062 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009497/0.8128, allocations: 2.584 MB / 1.065 GB, free: 216.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006428/0.8134, allocations: 238.8 kB / 1.065 GB, free: 216 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.8137, allocations: 31.83 kB / 1.065 GB, free: 216 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/0.8162, allocations: 377.6 kB / 1.065 GB, free: 215.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.8164, allocations: 77.23 kB / 1.065 GB, free: 215.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.8165, allocations: 50.84 kB / 1.065 GB, free: 215.9 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005934/0.8171, allocations: 437.2 kB / 1.066 GB, free: 215.7 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.8171, allocations: 0 / 1.066 GB, free: 215.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001176/0.8183, allocations: 393.5 kB / 1.066 GB, free: 215.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 (100): * Single equations (assignments): 89 * 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.002486/0.8207, allocations: 0.6549 MB / 1.067 GB, free: 215.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00929/0.83, allocations: 2.499 MB / 1.069 GB, free: 215 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.83, allocations: 2.625 kB / 1.069 GB, free: 215 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004659/0.8347, allocations: 1.322 MB / 1.071 GB, free: 214.6 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.8363, allocations: 328.8 kB / 1.071 GB, free: 214.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007313/0.8436, allocations: 2.627 MB / 1.073 GB, free: 213.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.8442, allocations: 471 kB / 1.074 GB, free: 213.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001266/0.8455, allocations: 322.9 kB / 1.074 GB, free: 213.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.846, allocations: 120.8 kB / 1.074 GB, free: 213.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.473e-06/0.846, allocations: 0.9844 kB / 1.074 GB, free: 213.2 MB / 1.01 GB Notification: Performance of Templates: time 0.03617/0.8822, allocations: 18.47 MB / 1.092 GB, free: 211.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.025683819898404]