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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 201.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.769/2.769, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002011/0.002011, allocations: 63.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8194, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002945/0.8223, allocations: 1.549 MB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.8239, allocations: 0.7689 MB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.824, allocations: 4 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.824, allocations: 3.938 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.8241, allocations: 19.78 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.8247, allocations: 131.6 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.8249, allocations: 95.75 kB / 1.277 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.825, allocations: 11.94 kB / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.8251, allocations: 55.77 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.8252, allocations: 43.77 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.8252, allocations: 8 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002245/0.8254, allocations: 107.8 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.8254, allocations: 19.92 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.8255, allocations: 47.78 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.8258, allocations: 158.2 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8258, allocations: 7.938 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8258, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.8258, allocations: 0 / 1.277 GB, free: 1.539 MB / 0.9669 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.0008175/0.8266, allocations: 0.4921 MB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.8266, allocations: 8.031 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.8267, allocations: 8.891 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.8268, allocations: 184.2 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8268, allocations: 4.375 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.8269, allocations: 8.375 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.8271, allocations: 81.95 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8271, allocations: 0 / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.8271, allocations: 0 / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.8271, allocations: 4 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.8273, allocations: 55.89 kB / 1.278 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.8278, allocations: 332.7 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.8281, allocations: 74.7 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.8281, allocations: 44.83 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.8282, allocations: 4 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002623/0.8284, allocations: 99.42 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.8284, allocations: 0 / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004475/0.8289, allocations: 173.5 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.8289, allocations: 59.34 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.829, allocations: 134.1 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.8291, allocations: 29.7 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.8291, allocations: 92.14 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.8292, allocations: 35.69 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.8292, allocations: 33.7 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.8293, allocations: 322.8 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.542e-05/0.8294, allocations: 27.98 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.8295, allocations: 75.38 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.8297, allocations: 105 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8297, allocations: 4 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002632/0.83, allocations: 137.4 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.83, allocations: 13.81 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.83, allocations: 3.938 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.83, allocations: 4 kB / 1.28 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.8302, allocations: 23.92 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8302, allocations: 0 / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.8303, allocations: 19.92 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.8303, allocations: 4 kB / 1.28 GB, free: 14.61 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.0001211/0.8304, allocations: 126.4 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.8304, allocations: 19.95 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.8308, allocations: 161.5 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8308, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.8308, allocations: 0 / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.8308, allocations: 4 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.8314, allocations: 446.4 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.8314, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/0.8315, allocations: 15.98 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8315, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.8315, allocations: 7.984 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.8315, allocations: 3.938 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8315, allocations: 0 / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.8319, allocations: 251.3 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/0.8319, allocations: 85.06 kB / 1.281 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.832, allocations: 11.94 kB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.8321, allocations: 7.984 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.8321, allocations: 15.98 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.8322, allocations: 0 / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.8322, allocations: 103.2 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8322, allocations: 0 / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003196/0.8325, allocations: 43.94 kB / 1.281 GB, free: 13.22 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.0003829/0.8329, allocations: 176.8 kB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.8332, allocations: 90.64 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8332, allocations: 0 / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.8333, allocations: 47.97 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.8336, allocations: 28.11 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.8341, allocations: 231.8 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.8345, allocations: 0.6963 MB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.613e-05/0.8345, allocations: 12.44 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.8345, allocations: 15.42 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.8345, allocations: 4 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of Templates: time 0.005336/0.8399, allocations: 1.989 MB / 1.284 GB, free: 9.906 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.630701961927116]