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.001075/0.001075, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001531/0.001531, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.099/1.099, allocations: 177.2 MB / 205.3 MB, free: 5.492 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.825/1.825, allocations: 359 MB / 0.6063 GB, free: 10.89 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 3.056e-06/3.056e-06, allocations: 3.984 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.951e-05, allocations: 5.438 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002865/0.002895, allocations: 1.579 MB / 0.7898 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.004349, allocations: 0.8009 MB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.004418, allocations: 3.938 kB / 0.7906 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.065e-05/0.004449, allocations: 7.922 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.28e-05/0.004542, allocations: 21.83 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006394/0.005181, allocations: 151.4 kB / 0.7908 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.005341, allocations: 107.6 kB / 0.7909 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.005425, allocations: 5.578 kB / 0.7909 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.005594, allocations: 75.8 kB / 0.791 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.005667, allocations: 31.89 kB / 0.791 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.005693, allocations: 9.062 kB / 0.791 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.005971, allocations: 143.7 kB / 0.7911 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.006002, allocations: 19.92 kB / 0.7912 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.006048, allocations: 33.31 kB / 0.7912 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.006328, allocations: 167.5 kB / 0.7913 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.006331, allocations: 0 / 0.7913 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.006332, allocations: 0 / 0.7913 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.006336, allocations: 1.656 kB / 0.7913 GB, free: 9.129 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.0006269/0.006963, allocations: 0.5089 MB / 0.7918 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.007003, allocations: 12.53 kB / 0.7919 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.007259, allocations: 29.91 kB / 0.7919 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.007438, allocations: 148.4 kB / 0.792 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.007459, allocations: 9.969 kB / 0.792 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.007473, allocations: 4.375 kB / 0.792 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.007624, allocations: 74.91 kB / 0.7921 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.007636, allocations: 192 / 0.7921 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.007646, allocations: 2 kB / 0.7921 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.007654, allocations: 11.88 kB / 0.7921 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.112e-05/0.007715, allocations: 27.91 kB / 0.7922 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.008127, allocations: 279 kB / 0.7924 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.008267, allocations: 59.23 kB / 0.7925 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.008303, allocations: 27.61 kB / 0.7925 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.00832, allocations: 4 kB / 0.7925 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/0.008451, allocations: 88.84 kB / 0.7926 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/0.008454, allocations: 0.6875 kB / 0.7926 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0003029/0.008756, allocations: 129.5 kB / 0.7927 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.008797, allocations: 60.06 kB / 0.7928 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.008887, allocations: 189.9 kB / 0.793 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.008902, allocations: 34.22 kB / 0.793 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.008954, allocations: 140.4 kB / 0.7931 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.008979, allocations: 31.73 kB / 0.7931 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.009023, allocations: 35.36 kB / 0.7932 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.009144, allocations: 0.4962 MB / 0.7937 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.21e-05/0.009166, allocations: 12.52 kB / 0.7937 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.748e-05/0.009214, allocations: 66.09 kB / 0.7937 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.277e-05/0.009296, allocations: 95.39 kB / 0.7938 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.0093, allocations: 5.156 kB / 0.7938 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000129/0.009429, allocations: 106.8 kB / 0.7939 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.009444, allocations: 13.64 kB / 0.794 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.00945, allocations: 8 kB / 0.794 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.009461, allocations: 0 / 0.794 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.009549, allocations: 21.73 kB / 0.794 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.009552, allocations: 0 / 0.794 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.009604, allocations: 19.89 kB / 0.794 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.009613, allocations: 4 kB / 0.794 GB, free: 6.156 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 8.28e-05/0.009695, allocations: 173.4 kB / 0.7942 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.009713, allocations: 15.89 kB / 0.7942 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.009879, allocations: 122.4 kB / 0.7943 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.009883, allocations: 4 kB / 0.7943 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.009885, allocations: 0.875 kB / 0.7943 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009888, allocations: 0 / 0.7943 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.0102, allocations: 393.3 kB / 0.7947 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.0102, allocations: 0 / 0.7947 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.01024, allocations: 15.92 kB / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01024, allocations: 0 / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.01025, allocations: 0 / 0.7947 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01025, allocations: 7.938 kB / 0.7947 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01025, allocations: 0 / 0.7947 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.01042, allocations: 267.8 kB / 0.795 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.01043, allocations: 15.84 kB / 0.795 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.01045, allocations: 4.594 kB / 0.795 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.474e-05/0.0105, allocations: 7.984 kB / 0.795 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.01054, allocations: 14 kB / 0.795 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.01056, allocations: 4 kB / 0.795 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.111e-05/0.01061, allocations: 139.1 kB / 0.7951 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01061, allocations: 0 / 0.7951 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002314/0.01084, allocations: 47.94 kB / 0.7952 GB, free: 4.895 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.0003043/0.01114, allocations: 176 kB / 0.7953 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.01127, allocations: 67.41 kB / 0.7954 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01127, allocations: 0 / 0.7954 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.01132, allocations: 43.59 kB / 0.7955 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.01155, allocations: 38.08 kB / 0.7955 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.012, allocations: 215.2 kB / 0.7957 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.01204, allocations: 67.34 kB / 0.7958 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.838e-05/0.01207, allocations: 10.05 kB / 0.7958 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.01215, allocations: 90.19 kB / 0.7959 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.01215, allocations: 1.094 kB / 0.7959 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.004059/0.01621, allocations: 2.316 MB / 0.7981 GB, free: 1.887 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.177733750082552]