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.001342/0.001342, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.00144/0.00144, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.625/1.625, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.887/2.887, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.002017/0.002017, allocations: 67.89 kB / 1.109 GB, free: 6.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8238, allocations: 168.7 MB / 1.274 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002844/0.8267, allocations: 1.538 MB / 1.276 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.8281, allocations: 0.765 MB / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.8282, allocations: 0 / 1.276 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.8282, allocations: 11.94 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.36e-05/0.8283, allocations: 19.78 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005352/0.8288, allocations: 127.6 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.829, allocations: 99.64 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.8291, allocations: 15.92 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.8292, allocations: 43.84 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.8293, allocations: 43.83 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.8293, allocations: 8 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.8295, allocations: 107.8 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.8295, allocations: 27.89 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.8296, allocations: 39.8 kB / 1.277 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.8298, allocations: 158.2 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8299, allocations: 7.875 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8299, allocations: 0 / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.8299, allocations: 0 / 1.277 GB, free: 1.422 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.0008433/0.8307, allocations: 0.4999 MB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.8307, allocations: 12.03 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.8308, allocations: 8.891 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.8309, allocations: 176.3 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.831, allocations: 4.375 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.831, allocations: 12.34 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.8312, allocations: 89.89 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.8312, allocations: 0 / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.8312, allocations: 0 / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.8312, allocations: 4 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.8314, allocations: 47.97 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.832, allocations: 332.7 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.8322, allocations: 78.7 kB / 1.278 GB, free: 4 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.8323, allocations: 32.92 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.8324, allocations: 11.91 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002641/0.8326, allocations: 99.3 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.8326, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004729/0.8331, allocations: 177.5 kB / 1.278 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.8332, allocations: 55.41 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.8333, allocations: 140.7 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.8333, allocations: 29.69 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.498e-05/0.8334, allocations: 92.14 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.8334, allocations: 23.8 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.8335, allocations: 37.7 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.8336, allocations: 322.8 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.842e-05/0.8337, allocations: 31.97 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.8338, allocations: 69.14 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.834, allocations: 105 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.834, allocations: 4 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002916/0.8343, allocations: 141.6 kB / 1.279 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8343, allocations: 8 kB / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8343, allocations: 0 / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.8343, allocations: 3.984 kB / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.8345, allocations: 23.92 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.8345, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.8346, allocations: 15.92 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.8346, allocations: 4.094 kB / 1.28 GB, free: 14.49 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.0001237/0.8347, allocations: 131.8 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.8347, allocations: 7.953 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/0.8351, allocations: 174.2 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8351, allocations: 0 / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8351, allocations: 3.984 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.8352, allocations: 8 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.8358, allocations: 444.6 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.8358, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.8359, allocations: 19.92 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8359, allocations: 0 / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.8359, allocations: 4 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8359, allocations: 3.938 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8359, allocations: 0 / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.8363, allocations: 251.4 kB / 1.281 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/0.8363, allocations: 89.05 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.8364, allocations: 3.938 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.8365, allocations: 11.98 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.8366, allocations: 7.984 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.8366, allocations: 4 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.496e-05/0.8367, allocations: 103.3 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8367, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003311/0.837, allocations: 47.92 kB / 1.281 GB, free: 13.09 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.0003824/0.8374, allocations: 174.1 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.8377, allocations: 95.47 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8377, allocations: 192 / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.8378, allocations: 47.92 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.8381, allocations: 19.98 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.8386, allocations: 231.8 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.839, allocations: 0.7001 MB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.828e-05/0.839, allocations: 12.42 kB / 1.282 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.8391, allocations: 11.44 kB / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.8391, allocations: 0 / 1.282 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.005565/0.8446, allocations: 1.985 MB / 1.284 GB, free: 9.793 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 cvode -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: 9.108585861045867]