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.001855/0.001855, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002278/0.002278, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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 1.605/1.605, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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 2.863/2.863, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.613e-06/1.613e-06, allocations: 0.5469 kB / 0.7863 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.762e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003207/0.003235, allocations: 1.549 MB / 0.7878 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.004997, allocations: 0.7856 MB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.005063, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.137e-05/0.005115, allocations: 12.92 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.005215, allocations: 17.36 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.005928, allocations: 155.4 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.00613, allocations: 103.7 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.006225, allocations: 8.234 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.006439, allocations: 68.75 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.696e-05/0.006526, allocations: 35.94 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.006558, allocations: 8.625 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.006882, allocations: 147.6 kB / 0.7891 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.006918, allocations: 20.48 kB / 0.7892 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.376e-05/0.006981, allocations: 33.06 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.007363, allocations: 187.5 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.007368, allocations: 4 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.007368, allocations: 2.188 kB / 0.7894 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.007373, allocations: 0 / 0.7894 GB, free: 9.691 MB / 0.7448 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.0008785/0.008251, allocations: 430.8 kB / 0.7898 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.008298, allocations: 8.031 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/0.008663, allocations: 38.89 kB / 0.7898 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.008963, allocations: 129.6 kB / 0.79 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.008988, allocations: 12.36 kB / 0.79 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.009007, allocations: 5.938 kB / 0.79 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.009249, allocations: 86.14 kB / 0.7901 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.00926, allocations: 192 / 0.7901 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.009275, allocations: 384 / 0.7901 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.009283, allocations: 5.312 kB / 0.7901 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.009475, allocations: 51.95 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.01005, allocations: 262.2 kB / 0.7904 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.0103, allocations: 74.67 kB / 0.7904 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.01042, allocations: 40.83 kB / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.01044, allocations: 1.062 kB / 0.7905 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.01068, allocations: 107.3 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.01068, allocations: 1.938 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0005231/0.01121, allocations: 181.5 kB / 0.7908 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.01126, allocations: 55.41 kB / 0.7908 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.01142, allocations: 131.7 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.01145, allocations: 32.3 kB / 0.791 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.01152, allocations: 96.12 kB / 0.7911 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.01156, allocations: 27.75 kB / 0.7911 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.01163, allocations: 33.7 kB / 0.7911 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.01181, allocations: 322.8 kB / 0.7914 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.0119, allocations: 27.98 kB / 0.7914 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.01203, allocations: 73.78 kB / 0.7915 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.01225, allocations: 107.2 kB / 0.7916 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.01226, allocations: 4 kB / 0.7916 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00033/0.01259, allocations: 142.1 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.0126, allocations: 5.031 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01261, allocations: 4 kB / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.01263, allocations: 0 / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.01275, allocations: 25.08 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.01276, allocations: 4 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.01288, allocations: 19.88 kB / 0.7918 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.01289, allocations: 4.844 kB / 0.7918 GB, free: 6.984 MB / 0.7448 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.0001235/0.01302, allocations: 126.6 kB / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.01305, allocations: 15.89 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.01346, allocations: 166.8 kB / 0.7921 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.01346, allocations: 7.969 kB / 0.7921 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.01347, allocations: 0.8438 kB / 0.7921 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01347, allocations: 4 kB / 0.7921 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.01414, allocations: 383 kB / 0.7925 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01414, allocations: 0 / 0.7925 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.01422, allocations: 17.42 kB / 0.7925 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.01423, allocations: 0 / 0.7925 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.01425, allocations: 7.984 kB / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01425, allocations: 0 / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01425, allocations: 1.312 kB / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.01467, allocations: 255.3 kB / 0.7928 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.01469, allocations: 15.84 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.01471, allocations: 3.031 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.01484, allocations: 15.98 kB / 0.7928 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.0149, allocations: 7.984 kB / 0.7928 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.01492, allocations: 7.984 kB / 0.7928 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.423e-05/0.015, allocations: 101.3 kB / 0.7929 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.015, allocations: 0 / 0.7929 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003478/0.01535, allocations: 43.88 kB / 0.793 GB, free: 5.777 MB / 0.7448 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.0004357/0.01579, allocations: 169 kB / 0.7931 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.01608, allocations: 97.67 kB / 0.7932 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01608, allocations: 0 / 0.7932 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/0.01623, allocations: 47.97 kB / 0.7933 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.01656, allocations: 20.98 kB / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.01713, allocations: 230.1 kB / 0.7935 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.208e-05/0.01722, allocations: 84.27 kB / 0.7936 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.924e-05/0.01728, allocations: 16.75 kB / 0.7936 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.01733, allocations: 16.5 kB / 0.7936 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.01734, allocations: 2.188 kB / 0.7936 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of Templates: time 0.005991/0.02333, allocations: 2.041 MB / 0.7956 GB, free: 3.07 MB / 0.7448 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: 8.042417827993631]