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.001878/0.001878, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.001953/0.001953, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.565/1.565, allocations: 177.1 MB / 203.9 MB, free: 5.633 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.872/2.872, allocations: 359 MB / 0.6048 GB, free: 10.95 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 2.104e-06/2.104e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.191e-05, allocations: 5.266 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003205/0.003237, allocations: 1.56 MB / 0.7879 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.005041, allocations: 0.8007 MB / 0.7886 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.005117, allocations: 4 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.005151, allocations: 8.625 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.005267, allocations: 20.69 kB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.005983, allocations: 152 kB / 0.7888 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.006164, allocations: 99.64 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.006257, allocations: 15.66 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002095/0.006467, allocations: 67.81 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.325e-05/0.00656, allocations: 35.88 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.006593, allocations: 8 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.006927, allocations: 139.7 kB / 0.7892 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.006965, allocations: 23.95 kB / 0.7892 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.007029, allocations: 31.86 kB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.007446, allocations: 183.5 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.007456, allocations: 8.547 kB / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.844e-06/0.007458, allocations: 0 / 0.7894 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.007464, allocations: 4.594 kB / 0.7894 GB, free: 9.684 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.0009621/0.008426, allocations: 0.518 MB / 0.7899 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.00847, allocations: 12.03 kB / 0.7899 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.008821, allocations: 34.39 kB / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.009075, allocations: 142.5 kB / 0.7901 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.009093, allocations: 4.375 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.009112, allocations: 8.375 kB / 0.7901 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.009324, allocations: 83.73 kB / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.009334, allocations: 192 / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.009355, allocations: 384 / 0.7902 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.009363, allocations: 3.938 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.009524, allocations: 48.59 kB / 0.7902 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.01016, allocations: 317.6 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.01044, allocations: 87.16 kB / 0.7906 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.993e-05/0.01054, allocations: 35.67 kB / 0.7907 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.01056, allocations: 8.594 kB / 0.7907 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.01079, allocations: 113.6 kB / 0.7908 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.01079, allocations: 3.938 kB / 0.7908 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0005143/0.0113, allocations: 174.8 kB / 0.791 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.01136, allocations: 59.41 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.01155, allocations: 200.2 kB / 0.7912 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.01158, allocations: 30.31 kB / 0.7912 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.01169, allocations: 148 kB / 0.7914 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.01173, allocations: 27.75 kB / 0.7914 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.0118, allocations: 43.36 kB / 0.7914 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002691/0.01207, allocations: 0.4931 MB / 0.7919 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.01216, allocations: 27.98 kB / 0.7919 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.01232, allocations: 94.66 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.01254, allocations: 123.2 kB / 0.7922 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01255, allocations: 0.75 kB / 0.7922 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003027/0.01285, allocations: 154.6 kB / 0.7923 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.01287, allocations: 4 kB / 0.7923 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01287, allocations: 0.5625 kB / 0.7923 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.01289, allocations: 4 kB / 0.7923 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01301, allocations: 21.05 kB / 0.7923 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.01301, allocations: 4 kB / 0.7923 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.367e-05/0.01311, allocations: 16.86 kB / 0.7923 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01313, allocations: 11.98 kB / 0.7924 GB, free: 6.414 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.0001684/0.0133, allocations: 161.4 kB / 0.7925 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.01333, allocations: 19.89 kB / 0.7925 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007489/0.01408, allocations: 166.9 kB / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01409, allocations: 0 / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.01409, allocations: 0 / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01409, allocations: 0 / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/0.01479, allocations: 445.2 kB / 0.7931 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01479, allocations: 2.781 kB / 0.7931 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.01486, allocations: 8 kB / 0.7931 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.01487, allocations: 3.984 kB / 0.7931 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.01489, allocations: 8 kB / 0.7931 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01489, allocations: 0 / 0.7931 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01489, allocations: 0 / 0.7931 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000437/0.01533, allocations: 307.7 kB / 0.7934 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.01535, allocations: 17.31 kB / 0.7934 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.01538, allocations: 4 kB / 0.7935 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.01548, allocations: 4 kB / 0.7935 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.01555, allocations: 15.97 kB / 0.7935 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.01556, allocations: 4.5 kB / 0.7935 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001115/0.01568, allocations: 151.7 kB / 0.7936 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01568, allocations: 0 / 0.7936 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003254/0.016, allocations: 41.31 kB / 0.7937 GB, free: 5.02 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.0005509/0.01655, allocations: 184.7 kB / 0.7938 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.01685, allocations: 104.8 kB / 0.7939 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01686, allocations: 0 / 0.7939 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.01699, allocations: 67.59 kB / 0.794 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.01733, allocations: 15.98 kB / 0.794 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.01789, allocations: 236.8 kB / 0.7942 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.018, allocations: 82.36 kB / 0.7943 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.705e-05/0.01805, allocations: 13.52 kB / 0.7943 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.009e-05/0.0181, allocations: 13.62 kB / 0.7943 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.0181, allocations: 0 / 0.7943 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of Templates: time 0.006426/0.02453, allocations: 2.045 MB / 0.7963 GB, free: 2.266 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 240] 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: 7.922120533999987]