Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001624/0.001624, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002297/0.002297, allocations: 213.2 kB / 23 MB, free: 4.566 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.758/2.758, allocations: 476.7 MB / 0.7714 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 70.61 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3281, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002725/0.3308, allocations: 1.553 MB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.3324, allocations: 0.8625 MB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.897e-05/0.3324, allocations: 0 / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.3325, allocations: 11.88 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3326, allocations: 15.84 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.3332, allocations: 151.5 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3333, allocations: 99.62 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.3334, allocations: 15.86 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.3336, allocations: 47.8 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.666e-05/0.3337, allocations: 47.81 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3337, allocations: 4 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.334, allocations: 143.8 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.334, allocations: 27.89 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.566e-05/0.3341, allocations: 31.86 kB / 1.288 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.3343, allocations: 171.4 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3343, allocations: 4 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3343, allocations: 0 / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3344, allocations: 0 / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000809/0.3352, allocations: 415.2 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.3352, allocations: 8.031 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.3354, allocations: 28.86 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3357, allocations: 134.4 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3358, allocations: 93.66 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.577e-05/0.3358, allocations: 4.375 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.336, allocations: 81.7 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.336, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3361, allocations: 0 / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3361, allocations: 4 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.3363, allocations: 51.97 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.3368, allocations: 295.7 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.337, allocations: 62.48 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3371, allocations: 48.83 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3371, allocations: 4.141 kB / 1.289 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.3374, allocations: 99.34 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3374, allocations: 0 / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004873/0.3379, allocations: 169.5 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3379, allocations: 55.41 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.338, allocations: 135.5 kB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.338, allocations: 29.7 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.3381, allocations: 96.31 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.3381, allocations: 19.86 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.476e-05/0.3382, allocations: 33.7 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3383, allocations: 326.8 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3384, allocations: 31.97 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3386, allocations: 76.25 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3388, allocations: 105 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3388, allocations: 0 / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003129/0.3391, allocations: 137.4 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3391, allocations: 4.125 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3391, allocations: 11.98 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3392, allocations: 0 / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3393, allocations: 15.98 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3393, allocations: 7.938 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3394, allocations: 15.92 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.3394, allocations: 8 kB / 1.29 GB, free: 5.23 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.3395, allocations: 125.7 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.3395, allocations: 15.91 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.3396, allocations: 16.7 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3396, allocations: 384 / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3396, allocations: 0 / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3396, allocations: 0 / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/0.3402, allocations: 397.4 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3402, allocations: 0 / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.411e-05/0.3403, allocations: 15.98 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3403, allocations: 0 / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3403, allocations: 7.984 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3403, allocations: 3.938 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3403, allocations: 3.938 kB / 1.291 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.3407, allocations: 215.5 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.3407, allocations: 23.84 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.3407, allocations: 7.984 kB / 1.291 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.3408, allocations: 15.92 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.3409, allocations: 15.92 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3409, allocations: 4 kB / 1.291 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.86e-05/0.341, allocations: 110.1 kB / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.341, allocations: 0 / 1.291 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000313/0.3413, allocations: 39.94 kB / 1.291 GB, free: 4.156 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003621/0.3416, allocations: 158.6 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002999/0.3419, allocations: 87.88 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.342, allocations: 4 kB / 1.291 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3421, allocations: 52.09 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.3424, allocations: 8 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.343, allocations: 245.5 kB / 1.292 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.3435, allocations: 0.6961 MB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.3435, allocations: 23.42 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3435, allocations: 0 / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.004192/0.3477, allocations: 1.89 MB / 1.294 GB, free: 0.957 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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: 11.53199346800102]