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.000788/0.000788, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000809/0.000809, allocations: 178.2 kB / 23.21 MB, free: 1.352 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 0.8445/0.8445, allocations: 177.2 MB / 203.5 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.602/1.602, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/2.819e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001929/0.001957, allocations: 1.533 MB / 0.9532 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009767/0.002934, allocations: 0.7872 MB / 0.954 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.002986, allocations: 8 kB / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.003015, allocations: 11.86 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.851e-05/0.003094, allocations: 15.8 kB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.003578, allocations: 151.4 kB / 0.9541 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.003691, allocations: 103.6 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.483e-05/0.003776, allocations: 12.16 kB / 0.9543 GB, free: 396 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.003916, allocations: 67.81 kB / 0.9543 GB, free: 328 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.566e-05/0.003971, allocations: 35.89 kB / 0.9544 GB, free: 292 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.003991, allocations: 12 kB / 0.9544 GB, free: 280 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.004169, allocations: 139.7 kB / 0.9545 GB, free: 140 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.487e-05/0.004194, allocations: 27.89 kB / 0.9545 GB, free: 112 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.004231, allocations: 27.92 kB / 0.9545 GB, free: 84 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.004467, allocations: 191.5 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.004471, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.955e-06/0.004474, allocations: 3.984 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.626e-06/0.004477, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 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.0005275/0.005005, allocations: 430.8 kB / 0.9551 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.005038, allocations: 15.97 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.005212, allocations: 32.88 kB / 0.9552 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.005388, allocations: 132.2 kB / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.0054, allocations: 8.375 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.005413, allocations: 4.375 kB / 0.9553 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.005552, allocations: 82.14 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.005559, allocations: 192 / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.005572, allocations: 4.375 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.005577, allocations: 7.938 kB / 0.9554 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.797e-05/0.005675, allocations: 51.95 kB / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.006026, allocations: 264.4 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.006166, allocations: 74.67 kB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.00622, allocations: 36.84 kB / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.006237, allocations: 0 / 0.9558 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.006368, allocations: 103.3 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.006369, allocations: 4 kB / 0.9559 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002827/0.006651, allocations: 185.4 kB / 0.9561 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.006685, allocations: 59.41 kB / 0.9562 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.006764, allocations: 133.8 kB / 0.9563 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.006777, allocations: 25.7 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.00682, allocations: 92.14 kB / 0.9564 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.006845, allocations: 35.72 kB / 0.9564 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.006887, allocations: 29.7 kB / 0.9565 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.006965, allocations: 326.8 kB / 0.9568 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/0.007014, allocations: 35.92 kB / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.007077, allocations: 73.06 kB / 0.9569 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.007187, allocations: 105.1 kB / 0.957 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007189, allocations: 0 / 0.957 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001514/0.00734, allocations: 141.4 kB / 0.9571 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.007351, allocations: 8.094 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.007355, allocations: 0 / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.007367, allocations: 4 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.007429, allocations: 23.92 kB / 0.9572 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.007434, allocations: 0 / 0.9572 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.007484, allocations: 19.88 kB / 0.9572 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.007493, allocations: 4 kB / 0.9572 GB, free: 13.16 MB / 0.9167 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 7.153e-05/0.007565, allocations: 125.8 kB / 0.9573 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.007577, allocations: 11.89 kB / 0.9573 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.007798, allocations: 170.3 kB / 0.9575 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.007801, allocations: 0 / 0.9575 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.007805, allocations: 4 kB / 0.9575 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.007809, allocations: 3.938 kB / 0.9575 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.008142, allocations: 382 kB / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008144, allocations: 0 / 0.9578 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.008176, allocations: 11.98 kB / 0.9579 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.008178, allocations: 0 / 0.9579 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.008188, allocations: 8 kB / 0.9579 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.00819, allocations: 4 kB / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008191, allocations: 0 / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.00837, allocations: 246.5 kB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.112e-05/0.008381, allocations: 11.89 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.008397, allocations: 8 kB / 0.9581 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.008448, allocations: 11.92 kB / 0.9581 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.008486, allocations: 11.97 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.008501, allocations: 8 kB / 0.9581 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.008544, allocations: 97.3 kB / 0.9582 GB, free: 12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008544, allocations: 4 kB / 0.9582 GB, free: 12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002056/0.00875, allocations: 55.86 kB / 0.9583 GB, free: 11.95 MB / 0.9167 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.0002462/0.008996, allocations: 171.7 kB / 0.9585 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.009154, allocations: 84.08 kB / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.009155, allocations: 4 kB / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.493e-05/0.00922, allocations: 47.92 kB / 0.9586 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.009449, allocations: 20.36 kB / 0.9586 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.009816, allocations: 259.3 kB / 0.9589 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.009863, allocations: 77.45 kB / 0.9589 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.009897, allocations: 28.48 kB / 0.959 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of SimCode: time 5.71e-07/0.009898, allocations: 7.875 kB / 0.959 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of Templates: time 0.002542/0.01244, allocations: 2 MB / 0.9609 GB, free: 9.223 MB / 0.9167 GB " [Timeout remaining time 300] 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: 6.585596663877368]