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.001872/0.001872, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002616/0.002616, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.634/1.634, allocations: 230.6 MB / 256 MB, free: 7.809 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.977/2.977, allocations: 475.9 MB / 0.7699 GB, free: 4.816 MB / 0.6231 GB " [Timeout remaining time 176] 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.002107/0.002107, allocations: 69.17 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3384, allocations: 169.9 MB / 1.283 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003413/0.3418, allocations: 1.535 MB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3436, allocations: 0.8042 MB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.3437, allocations: 3.938 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.1e-05/0.3437, allocations: 3.938 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.3438, allocations: 15.86 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.3446, allocations: 151.5 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.3448, allocations: 91.69 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.3449, allocations: 15.92 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.3451, allocations: 47.86 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.3452, allocations: 43.75 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.3452, allocations: 8 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/0.3456, allocations: 135.8 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.3457, allocations: 19.92 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.317e-05/0.3457, allocations: 39.78 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003812/0.3461, allocations: 163.5 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3461, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3461, allocations: 0 / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3461, allocations: 0 / 1.286 GB, free: 8.934 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.0009517/0.3471, allocations: 417.1 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3471, allocations: 11.97 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.3474, allocations: 24.88 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.3477, allocations: 140.7 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.3478, allocations: 89.61 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.3479, allocations: 8.375 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.3481, allocations: 77.77 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3481, allocations: 4 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3481, allocations: 4 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.3481, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.3484, allocations: 51.95 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.3489, allocations: 256.3 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.3492, allocations: 66.55 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.3493, allocations: 40.83 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.3493, allocations: 0 / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.3496, allocations: 103.3 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.3496, allocations: 0 / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005381/0.3501, allocations: 169.5 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.3502, allocations: 59.56 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3504, allocations: 129.8 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.3504, allocations: 33.7 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.3505, allocations: 100.3 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.3505, allocations: 19.81 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.3506, allocations: 34.08 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.3508, allocations: 326.8 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.3509, allocations: 27.97 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.351, allocations: 69.12 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.3513, allocations: 116.9 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.3513, allocations: 4 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003357/0.3516, allocations: 133.6 kB / 1.288 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3516, allocations: 4 kB / 1.288 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3516, allocations: 4 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3517, allocations: 96 / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3518, allocations: 19.97 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3518, allocations: 4 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.3519, allocations: 23.91 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.3519, allocations: 7.938 kB / 1.288 GB, free: 6.164 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.0001247/0.3521, allocations: 125.8 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.3521, allocations: 11.91 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.3521, allocations: 16.7 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3521, allocations: 0 / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3521, allocations: 0 / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3521, allocations: 4 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.3528, allocations: 358 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3528, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.992e-05/0.3529, allocations: 15.92 kB / 1.289 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3529, allocations: 4 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3529, allocations: 4 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3529, allocations: 0 / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3529, allocations: 4 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.3533, allocations: 231.3 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.3534, allocations: 15.84 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3534, allocations: 0 / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3535, allocations: 15.98 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.3536, allocations: 19.92 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.3536, allocations: 8.172 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.666e-05/0.3537, allocations: 105.8 kB / 1.289 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3537, allocations: 3.938 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003353/0.354, allocations: 43.92 kB / 1.289 GB, free: 5.133 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.0004411/0.3544, allocations: 164.3 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.3548, allocations: 83.83 kB / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3548, allocations: 0 / 1.29 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3549, allocations: 43.97 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.3552, allocations: 17.88 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.3558, allocations: 220.3 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.403e-05/0.3559, allocations: 83.69 kB / 1.29 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.865e-05/0.356, allocations: 16.36 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.356, allocations: 19.42 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.356, allocations: 4 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of Templates: time 0.006045/0.362, allocations: 1.91 MB / 1.292 GB, free: 2.57 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/jenkins/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: 9.611392460763454]