Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.001948/0.001948, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002007/0.002007, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.549/1.549, allocations: 177.1 MB / 203.9 MB, free: 5.598 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.952/2.952, allocations: 359 MB / 0.6048 GB, free: 10.96 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.Hunt1979Light,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.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,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.Hunt1979Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.7863 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.157e-05/4.401e-05, allocations: 8.781 kB / 0.7863 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.004533/0.004577, allocations: 1.54 MB / 0.7878 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00252/0.007097, allocations: 0.8276 MB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.007164, allocations: 4 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.255e-05/0.007207, allocations: 3.938 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.007346, allocations: 21.14 kB / 0.7887 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.00821, allocations: 156.4 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.008437, allocations: 95.62 kB / 0.7889 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.008538, allocations: 4 kB / 0.7889 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.008782, allocations: 69.38 kB / 0.789 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.008893, allocations: 31.89 kB / 0.789 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.008925, allocations: 4 kB / 0.789 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.009387, allocations: 143.7 kB / 0.7892 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.009435, allocations: 25.31 kB / 0.7892 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.231e-05/0.009508, allocations: 19.98 kB / 0.7892 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.009976, allocations: 191.4 kB / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.00998, allocations: 0 / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/0.009981, allocations: 1.938 kB / 0.7894 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.009987, allocations: 0 / 0.7894 GB, free: 9.586 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001163/0.01115, allocations: 0.4913 MB / 0.7899 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.0112, allocations: 10.31 kB / 0.7899 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.01158, allocations: 28.88 kB / 0.7899 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.0119, allocations: 144.4 kB / 0.79 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.01206, allocations: 85.67 kB / 0.7901 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.01208, allocations: 8.375 kB / 0.7901 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.01233, allocations: 74.73 kB / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.01234, allocations: 192 / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.01235, allocations: 5.781 kB / 0.7902 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.01235, allocations: 0 / 0.7902 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.01253, allocations: 51.91 kB / 0.7903 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.01316, allocations: 308.8 kB / 0.7906 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.0134, allocations: 76.39 kB / 0.7906 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.0135, allocations: 35.67 kB / 0.7907 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.01353, allocations: 3.938 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.01377, allocations: 103 kB / 0.7908 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.01377, allocations: 3.938 kB / 0.7908 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0005408/0.01431, allocations: 165.5 kB / 0.7909 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.01438, allocations: 56.25 kB / 0.791 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.01459, allocations: 204.2 kB / 0.7912 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.01463, allocations: 30.39 kB / 0.7912 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.01476, allocations: 147.1 kB / 0.7913 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.01479, allocations: 25.78 kB / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.759e-05/0.01487, allocations: 39.36 kB / 0.7914 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003393/0.01521, allocations: 0.4962 MB / 0.7919 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.65e-05/0.01531, allocations: 23.98 kB / 0.7919 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.01547, allocations: 96.48 kB / 0.792 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.01572, allocations: 118 kB / 0.7921 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.01572, allocations: 0 / 0.7921 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003253/0.01605, allocations: 140.3 kB / 0.7923 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.01606, allocations: 4 kB / 0.7923 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01607, allocations: 0 / 0.7923 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.01609, allocations: 4 kB / 0.7923 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.01622, allocations: 19.98 kB / 0.7923 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01623, allocations: 4.656 kB / 0.7923 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.01632, allocations: 13.2 kB / 0.7923 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01633, allocations: 7.938 kB / 0.7923 GB, free: 6.332 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001636/0.0165, allocations: 171.2 kB / 0.7925 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.01653, allocations: 19.88 kB / 0.7925 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.01657, allocations: 8.781 kB / 0.7925 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01657, allocations: 0.8438 kB / 0.7925 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01657, allocations: 4 kB / 0.7925 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01658, allocations: 1.281 kB / 0.7925 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000683/0.01726, allocations: 421.2 kB / 0.7929 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01726, allocations: 0.7188 kB / 0.7929 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.01732, allocations: 7.938 kB / 0.7929 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01732, allocations: 0.875 kB / 0.7929 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.01734, allocations: 11.98 kB / 0.7929 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.01735, allocations: 1.562 kB / 0.7929 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01735, allocations: 0 / 0.7929 GB, free: 5.656 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.01776, allocations: 279.7 kB / 0.7932 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.01778, allocations: 11.89 kB / 0.7932 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.01781, allocations: 9 kB / 0.7932 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.01791, allocations: 4 kB / 0.7932 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.01798, allocations: 19.34 kB / 0.7932 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.018, allocations: 7.984 kB / 0.7932 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001217/0.01813, allocations: 151.2 kB / 0.7934 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01813, allocations: 0 / 0.7934 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003004/0.01843, allocations: 39.94 kB / 0.7934 GB, free: 5.129 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0005098/0.01894, allocations: 171.5 kB / 0.7936 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.01923, allocations: 94.11 kB / 0.7937 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.01923, allocations: 4 kB / 0.7937 GB, free: 4.871 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.01937, allocations: 48.25 kB / 0.7937 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.01966, allocations: 29.2 kB / 0.7938 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.0202, allocations: 218.1 kB / 0.794 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.539e-05/0.02029, allocations: 80.81 kB / 0.794 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.988e-05/0.02034, allocations: 11.31 kB / 0.7941 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.0204, allocations: 16.48 kB / 0.7941 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.0204, allocations: 0 / 0.7941 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of Templates: time 0.006098/0.0265, allocations: 1.89 MB / 0.7959 GB, free: 2.574 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.112880088970996]