Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.002295/0.002295, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.001891/0.001891, allocations: 217.6 kB / 22.25 MB, free: 5.137 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.632/1.632, 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.938/2.938, allocations: 476.7 MB / 0.7706 GB, free: 4.336 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.Gunay2016Light,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.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,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.Gunay2016Light") [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.002132/0.002132, allocations: 64.47 kB / 1.118 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3175, allocations: 170 MB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002752/0.3203, allocations: 1.562 MB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3218, allocations: 0.8391 MB / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.3219, allocations: 0 / 1.286 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.3219, allocations: 3.938 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.322, allocations: 27.78 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.3225, allocations: 147.5 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3227, allocations: 103.7 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.3228, allocations: 20.17 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.3229, allocations: 55.78 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.323, allocations: 47.81 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3231, allocations: 8 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.3233, allocations: 143.8 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.3234, allocations: 27.89 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.3234, allocations: 39.8 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003021/0.3237, allocations: 167.4 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.3237, allocations: 4 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3237, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3237, allocations: 4 kB / 1.287 GB, free: 8.105 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007507/0.3245, allocations: 422.9 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.3245, allocations: 11.97 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.3249, allocations: 36.83 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.3251, allocations: 134.4 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3251, allocations: 8.375 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3251, allocations: 4.375 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.3253, allocations: 81.95 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3253, allocations: 0 / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3254, allocations: 4 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3254, allocations: 7.938 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.3255, allocations: 47.95 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.3261, allocations: 311.7 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3263, allocations: 74.64 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.301e-05/0.3264, allocations: 36.91 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3264, allocations: 11.92 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.3266, allocations: 107.3 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3266, allocations: 0 / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.000456/0.3271, allocations: 173.5 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.3272, allocations: 55.41 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.3273, allocations: 131.9 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3273, allocations: 29.7 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.3274, allocations: 96.08 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.3274, allocations: 31.78 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.3275, allocations: 41.64 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3276, allocations: 326.8 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.3277, allocations: 27.98 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3278, allocations: 71.23 kB / 1.289 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.328, allocations: 105.1 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.328, allocations: 3.938 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002805/0.3283, allocations: 141.4 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3283, allocations: 12.08 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3283, allocations: 0 / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3283, allocations: 4 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3284, allocations: 15.98 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3284, allocations: 0 / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.801e-05/0.3285, allocations: 8 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.3286, allocations: 11.98 kB / 1.289 GB, free: 5.336 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.000113/0.3287, allocations: 128.2 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.3287, allocations: 11.95 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.3291, allocations: 166.2 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.3291, allocations: 4 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3291, allocations: 0 / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3291, allocations: 0 / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/0.3297, allocations: 415 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3297, allocations: 0 / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-05/0.3298, allocations: 23.92 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.3298, allocations: 3.984 kB / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3298, allocations: 0 / 1.29 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.748e-06/0.3299, allocations: 11.94 kB / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3299, allocations: 0 / 1.29 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.3302, allocations: 243.4 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.3302, allocations: 3.953 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.3303, allocations: 11.94 kB / 1.29 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.3304, allocations: 11.98 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.3304, allocations: 11.97 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3304, allocations: 8 kB / 1.29 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.511e-05/0.3305, allocations: 109.8 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3305, allocations: 3.938 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003363/0.3309, allocations: 51.86 kB / 1.291 GB, free: 4.062 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003976/0.3313, allocations: 165.9 kB / 1.291 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.3315, allocations: 87.89 kB / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3315, allocations: 0 / 1.291 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3317, allocations: 49.05 kB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.332, allocations: 21.72 kB / 1.291 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.3325, allocations: 228.4 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3328, allocations: 0.6924 MB / 1.292 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.385e-05/0.3329, allocations: 16.34 kB / 1.292 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.3329, allocations: 15.72 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3329, allocations: 0 / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of Templates: time 0.005743/0.3387, allocations: 2.026 MB / 1.294 GB, free: 0.7383 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.43285785894841]