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.001615/0.001615, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001877/0.001877, allocations: 218 kB / 22.26 MB, free: 5.125 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 8.016 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.893/2.893, allocations: 476.7 MB / 0.7706 GB, free: 4.32 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.002155/0.002155, allocations: 66.41 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 170 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002793/0.3404, allocations: 1.568 MB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001569/0.342, allocations: 0.8587 MB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.382e-05/0.342, allocations: 0 / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.3421, allocations: 7.875 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.418e-05/0.3421, allocations: 19.8 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000569/0.3427, allocations: 151.5 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3429, allocations: 99.62 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.3429, allocations: 11.88 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3431, allocations: 51.78 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.3432, allocations: 43.81 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.3432, allocations: 8 kB / 1.287 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.3435, allocations: 143.8 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.165e-05/0.3435, allocations: 23.92 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.3436, allocations: 39.78 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.3438, allocations: 163.5 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3438, allocations: 4 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3438, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3438, allocations: 0 / 1.287 GB, free: 8.102 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.0007863/0.3446, allocations: 409.1 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3447, allocations: 12.03 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002369/0.3449, allocations: 24.88 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3451, allocations: 142.3 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001014/0.3452, allocations: 81.67 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.3453, allocations: 8.375 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.3455, allocations: 85.7 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3455, allocations: 0 / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3455, allocations: 0 / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3455, allocations: 4 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.3457, allocations: 51.95 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000526/0.3462, allocations: 291.7 kB / 1.288 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.3465, allocations: 70.53 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.3466, allocations: 36.84 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.3466, allocations: 0 / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.3468, allocations: 107.5 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3468, allocations: 0 / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005426/0.3474, allocations: 173.4 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3474, allocations: 55.41 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.3475, allocations: 132.2 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.3476, allocations: 33.7 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.3476, allocations: 92.31 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.3477, allocations: 19.86 kB / 1.289 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.3477, allocations: 33.7 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3479, allocations: 330.8 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.348, allocations: 27.98 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.3481, allocations: 69.12 kB / 1.289 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.3484, allocations: 113 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3484, allocations: 0 / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003198/0.3487, allocations: 137.5 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3487, allocations: 8 kB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.3487, allocations: 0 / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3487, allocations: 4 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3489, allocations: 15.92 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3489, allocations: 4 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.349, allocations: 19.92 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.349, allocations: 7.984 kB / 1.289 GB, free: 5.301 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.0001126/0.3491, allocations: 135.7 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.3491, allocations: 11.91 kB / 1.29 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.3492, allocations: 8.719 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3492, allocations: 0 / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3492, allocations: 4 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3492, allocations: 0 / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.3498, allocations: 401.4 kB / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3498, allocations: 480 / 1.29 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.3499, allocations: 11.98 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3499, allocations: 0 / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3499, allocations: 4 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3499, allocations: 7.875 kB / 1.29 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3499, allocations: 3.938 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.3503, allocations: 227.4 kB / 1.29 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.3503, allocations: 15.84 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.3504, allocations: 7.938 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3505, allocations: 11.92 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.3505, allocations: 15.97 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3506, allocations: 4 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.914e-05/0.3506, allocations: 109.5 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3506, allocations: 4 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003214/0.351, allocations: 43.92 kB / 1.29 GB, free: 4.219 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.000351/0.3513, allocations: 145.7 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.3516, allocations: 96.02 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3516, allocations: 7.875 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3518, allocations: 43.97 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.352, allocations: 19.92 kB / 1.291 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000501/0.3525, allocations: 215.8 kB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3529, allocations: 0.7002 MB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.3529, allocations: 8.438 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.353, allocations: 15.42 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.353, allocations: 0 / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of Templates: time 0.00518/0.3581, allocations: 1.862 MB / 1.293 GB, free: 1.078 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.345325716771185]