Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001772/0.001772, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002189/0.002189, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.779/2.779, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0.7656 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.122e-05/3.334e-05, allocations: 5.547 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.003388/0.003421, allocations: 1.536 MB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.005351, allocations: 0.8008 MB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.215e-05/0.005433, allocations: 0.75 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.886e-05/0.005482, allocations: 3.938 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.00561, allocations: 24.61 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.00644, allocations: 156.6 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.006632, allocations: 87.7 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.006729, allocations: 9.547 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.006947, allocations: 59.81 kB / 0.789 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.282e-05/0.00703, allocations: 31.89 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.007057, allocations: 8 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003612/0.007418, allocations: 140.8 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.007456, allocations: 23.91 kB / 0.7891 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.007521, allocations: 23.91 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.007921, allocations: 180.1 kB / 0.7893 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.007923, allocations: 4 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.007924, allocations: 1.406 kB / 0.7893 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.007929, allocations: 0 / 0.7893 GB, free: 9.773 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.0009078/0.008837, allocations: 398.2 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.00888, allocations: 8.031 kB / 0.7897 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.009242, allocations: 33.92 kB / 0.7898 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.009524, allocations: 129.7 kB / 0.7899 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.009543, allocations: 5.594 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.00956, allocations: 4.375 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.009776, allocations: 78.14 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.009786, allocations: 1.781 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.009803, allocations: 4.359 kB / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.009812, allocations: 7.938 kB / 0.79 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.009969, allocations: 41.38 kB / 0.79 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006201/0.01059, allocations: 248.6 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.01077, allocations: 61.34 kB / 0.7903 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.01085, allocations: 29 kB / 0.7903 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.01089, allocations: 7.984 kB / 0.7904 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002165/0.0111, allocations: 95.28 kB / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.0111, allocations: 0 / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0005032/0.01161, allocations: 162.2 kB / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.01167, allocations: 63.33 kB / 0.7907 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.01181, allocations: 128.5 kB / 0.7908 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.01184, allocations: 25.7 kB / 0.7908 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.01192, allocations: 100.3 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.01196, allocations: 23.8 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.01202, allocations: 30.23 kB / 0.791 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.01221, allocations: 322.8 kB / 0.7913 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.235e-05/0.0123, allocations: 29.36 kB / 0.7913 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.01243, allocations: 65.12 kB / 0.7914 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.01264, allocations: 99.44 kB / 0.7914 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01264, allocations: 0 / 0.7914 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003094/0.01295, allocations: 147 kB / 0.7916 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.01297, allocations: 4 kB / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01297, allocations: 0 / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.013, allocations: 5.188 kB / 0.7916 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.01312, allocations: 15.98 kB / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.01313, allocations: 3.984 kB / 0.7916 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.01325, allocations: 12.5 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.01327, allocations: 9.672 kB / 0.7916 GB, free: 7.219 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.0001297/0.0134, allocations: 131.3 kB / 0.7918 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.01344, allocations: 11.89 kB / 0.7918 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.01381, allocations: 151.8 kB / 0.7919 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.01381, allocations: 0 / 0.7919 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.01382, allocations: 0 / 0.7919 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01382, allocations: 0 / 0.7919 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.0145, allocations: 366.8 kB / 0.7923 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.0145, allocations: 0.625 kB / 0.7923 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.539e-05/0.01459, allocations: 20.64 kB / 0.7923 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.0146, allocations: 3.984 kB / 0.7923 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.01461, allocations: 4.531 kB / 0.7923 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01461, allocations: 1.312 kB / 0.7923 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.01461, allocations: 0 / 0.7923 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.01501, allocations: 251.4 kB / 0.7925 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.01503, allocations: 4.766 kB / 0.7925 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.01507, allocations: 4 kB / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.0152, allocations: 12.92 kB / 0.7926 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.01526, allocations: 7.984 kB / 0.7926 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.01528, allocations: 13.33 kB / 0.7926 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.755e-05/0.01537, allocations: 101.9 kB / 0.7927 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01537, allocations: 0 / 0.7927 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003498/0.01572, allocations: 39.94 kB / 0.7927 GB, free: 6.062 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 (12): * Single equations (assignments): 9 * 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.0004773/0.01619, allocations: 170 kB / 0.7929 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002847/0.01648, allocations: 84.72 kB / 0.793 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01648, allocations: 3.438 kB / 0.793 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.01661, allocations: 47.84 kB / 0.793 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.01694, allocations: 19.92 kB / 0.793 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.0175, allocations: 209.3 kB / 0.7932 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.324e-05/0.01759, allocations: 79.95 kB / 0.7933 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.422e-05/0.01765, allocations: 10.48 kB / 0.7933 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.0177, allocations: 16.5 kB / 0.7933 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.0177, allocations: 0 / 0.7933 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.006337/0.02404, allocations: 1.893 MB / 0.7952 GB, free: 3.555 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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: 7.82447559107095]