Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.001827/0.001827, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002004/0.002004, allocations: 165.3 kB / 23.56 MB, free: 0.8633 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.541/1.541, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.936/2.936, 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.Reinhart2003Light,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.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,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.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.555e-06/2.555e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.645e-05/3.9e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.004971/0.00501, allocations: 1.572 MB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.00805, allocations: 0.8273 MB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.008134, allocations: 0.5 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.008186, allocations: 7.875 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.008371, allocations: 24.94 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.0095, allocations: 159.9 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.00977, allocations: 104.3 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.009889, allocations: 11.97 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.01016, allocations: 60.8 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.01031, allocations: 39.88 kB / 0.7891 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.01036, allocations: 8.656 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000532/0.01089, allocations: 147.7 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.01094, allocations: 27.38 kB / 0.7893 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.453e-05/0.01104, allocations: 31.91 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005643/0.0116, allocations: 191.4 kB / 0.7895 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.01161, allocations: 0 / 0.7895 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.813e-06/0.01161, allocations: 0 / 0.7895 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.01162, allocations: 0 / 0.7895 GB, free: 9.637 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.001363/0.01298, allocations: 0.5357 MB / 0.79 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.01303, allocations: 8.562 kB / 0.79 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006113/0.01364, allocations: 41.45 kB / 0.79 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.01398, allocations: 146.6 kB / 0.7902 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.014, allocations: 384 / 0.7902 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.01403, allocations: 12.38 kB / 0.7902 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.01436, allocations: 78.12 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.01437, allocations: 5.344 kB / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.0144, allocations: 8 kB / 0.7903 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.01441, allocations: 0 / 0.7903 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/0.01466, allocations: 43.91 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00096/0.01562, allocations: 329.3 kB / 0.7906 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.01603, allocations: 83.19 kB / 0.7907 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.01621, allocations: 40.33 kB / 0.7908 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.396e-05/0.01625, allocations: 13.86 kB / 0.7908 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000364/0.01661, allocations: 101 kB / 0.7909 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.014e-06/0.01662, allocations: 0 / 0.7909 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0008512/0.01747, allocations: 173.5 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.01755, allocations: 59.97 kB / 0.7911 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.01789, allocations: 219.7 kB / 0.7913 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002847/0.01817, allocations: 30.42 kB / 0.7913 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.01833, allocations: 142.9 kB / 0.7915 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.0184, allocations: 33 kB / 0.7915 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.01853, allocations: 47.36 kB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004308/0.01896, allocations: 0.4961 MB / 0.792 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.01912, allocations: 28.55 kB / 0.7921 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.01936, allocations: 83.27 kB / 0.7921 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003937/0.01975, allocations: 119 kB / 0.7922 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01976, allocations: 0 / 0.7922 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000545/0.0203, allocations: 146.9 kB / 0.7924 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.02033, allocations: 8 kB / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.02034, allocations: 0.8438 kB / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.02036, allocations: 4 kB / 0.7924 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.02057, allocations: 21.22 kB / 0.7924 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.02058, allocations: 4 kB / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.02074, allocations: 4 kB / 0.7924 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.02077, allocations: 13.08 kB / 0.7924 GB, free: 6.344 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.0002058/0.02098, allocations: 180.4 kB / 0.7926 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.098e-05/0.02104, allocations: 16.75 kB / 0.7926 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006563/0.02169, allocations: 172.6 kB / 0.7928 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.0217, allocations: 3.938 kB / 0.7928 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.0217, allocations: 0 / 0.7928 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02171, allocations: 0 / 0.7928 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.02294, allocations: 453.2 kB / 0.7932 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.02295, allocations: 4 kB / 0.7932 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.02311, allocations: 22.7 kB / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.02311, allocations: 0 / 0.7933 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.02315, allocations: 8 kB / 0.7933 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.02315, allocations: 0 / 0.7933 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.02315, allocations: 0 / 0.7933 GB, free: 5.453 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007805/0.02393, allocations: 306.5 kB / 0.7936 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.02397, allocations: 15.84 kB / 0.7936 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.02402, allocations: 5.594 kB / 0.7936 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.02421, allocations: 7.984 kB / 0.7936 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.02433, allocations: 11.98 kB / 0.7936 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.02437, allocations: 11.92 kB / 0.7936 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002241/0.02459, allocations: 157.6 kB / 0.7938 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.71e-07/0.02459, allocations: 0.5625 kB / 0.7938 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006316/0.02522, allocations: 43.92 kB / 0.7938 GB, free: 4.891 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 (14): * Single equations (assignments): 11 * 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.0007934/0.02602, allocations: 168.2 kB / 0.794 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000517/0.02653, allocations: 101.5 kB / 0.7941 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.02654, allocations: 0 / 0.7941 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.02678, allocations: 64.34 kB / 0.7941 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005374/0.02732, allocations: 30.38 kB / 0.7941 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009166/0.02823, allocations: 250.1 kB / 0.7944 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001627/0.02839, allocations: 96.16 kB / 0.7945 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.245e-05/0.02848, allocations: 4.5 kB / 0.7945 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.02857, allocations: 20.48 kB / 0.7945 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.02857, allocations: 0 / 0.7945 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of Templates: time 0.006964/0.03553, allocations: 2.099 MB / 0.7965 GB, free: 2.086 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.112100270926021]