Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.002301/0.002301, allocations: 83.69 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.002593/0.002593, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.542/1.542, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.946/2.946, 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.Love1998Light2,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.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,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.Love1998Light2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.037e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.0031/0.003131, allocations: 1.543 MB / 0.7879 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.004852, allocations: 0.8155 MB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.004901, allocations: 5.219 kB / 0.7887 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.642e-05/0.004928, allocations: 7.875 kB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.005026, allocations: 13.45 kB / 0.7887 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.005685, allocations: 163.2 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.005899, allocations: 83.7 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.773e-05/0.005986, allocations: 15.38 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.00616, allocations: 59.83 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.006234, allocations: 31.89 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.00626, allocations: 8 kB / 0.789 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.006573, allocations: 139.7 kB / 0.7892 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.525e-05/0.006608, allocations: 23.91 kB / 0.7892 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.56e-05/0.006654, allocations: 15.98 kB / 0.7892 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.006977, allocations: 183.4 kB / 0.7894 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.00698, allocations: 0 / 0.7894 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006981, allocations: 4.75 kB / 0.7894 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.006986, allocations: 0 / 0.7894 GB, free: 9.77 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.0008243/0.00781, allocations: 0.4894 MB / 0.7898 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.007848, allocations: 8.031 kB / 0.7899 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.008159, allocations: 28.88 kB / 0.7899 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.008384, allocations: 141.8 kB / 0.79 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.008398, allocations: 384 / 0.79 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.008416, allocations: 8.375 kB / 0.79 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.008619, allocations: 70.2 kB / 0.7901 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.00863, allocations: 8.688 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.008642, allocations: 1.75 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.008648, allocations: 3.938 kB / 0.7901 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.008781, allocations: 35.98 kB / 0.7901 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005669/0.009348, allocations: 313.2 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.009534, allocations: 67.08 kB / 0.7905 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.009617, allocations: 32.2 kB / 0.7905 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.009645, allocations: 9.391 kB / 0.7905 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.009963, allocations: 100.9 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.009964, allocations: 0 / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004532/0.01042, allocations: 158.2 kB / 0.7908 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.01047, allocations: 59.39 kB / 0.7908 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.01066, allocations: 200 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.01069, allocations: 37.64 kB / 0.7911 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01079, allocations: 139.2 kB / 0.7912 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.01083, allocations: 35.77 kB / 0.7912 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.01091, allocations: 39.36 kB / 0.7913 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002786/0.01119, allocations: 0.4967 MB / 0.7918 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.01126, allocations: 24.7 kB / 0.7918 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.01141, allocations: 92.84 kB / 0.7919 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.01161, allocations: 116 kB / 0.792 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01162, allocations: 1.094 kB / 0.792 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002776/0.01189, allocations: 130.2 kB / 0.7921 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.01191, allocations: 11.98 kB / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.01192, allocations: 0.7188 kB / 0.7921 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01193, allocations: 4 kB / 0.7921 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.01205, allocations: 20.42 kB / 0.7921 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.01206, allocations: 5.031 kB / 0.7922 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.583e-05/0.01215, allocations: 8 kB / 0.7922 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.01216, allocations: 4.906 kB / 0.7922 GB, free: 6.66 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.0001613/0.01232, allocations: 183.2 kB / 0.7923 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.01235, allocations: 11.89 kB / 0.7924 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000343/0.01269, allocations: 144.2 kB / 0.7925 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.0127, allocations: 0 / 0.7925 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.0127, allocations: 7.938 kB / 0.7925 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01271, allocations: 3.984 kB / 0.7925 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.01333, allocations: 417.3 kB / 0.7929 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01333, allocations: 2.688 kB / 0.7929 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.803e-05/0.0134, allocations: 12 kB / 0.7929 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.0134, allocations: 0 / 0.7929 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.01342, allocations: 3.984 kB / 0.7929 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01342, allocations: 0 / 0.7929 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01342, allocations: 0 / 0.7929 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.01381, allocations: 291.6 kB / 0.7932 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.01383, allocations: 9.516 kB / 0.7932 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.01386, allocations: 4 kB / 0.7932 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.01396, allocations: 11.98 kB / 0.7932 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.01403, allocations: 7.984 kB / 0.7932 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.01405, allocations: 4.5 kB / 0.7932 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001266/0.01418, allocations: 151.1 kB / 0.7934 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01418, allocations: 1.625 kB / 0.7934 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003387/0.01452, allocations: 43.94 kB / 0.7934 GB, free: 5.312 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.0005004/0.01502, allocations: 172.7 kB / 0.7936 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002828/0.0153, allocations: 92.17 kB / 0.7937 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0153, allocations: 4 kB / 0.7937 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.01543, allocations: 52.56 kB / 0.7937 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.01573, allocations: 27.86 kB / 0.7938 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.01626, allocations: 214.2 kB / 0.794 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.01647, allocations: 79.33 kB / 0.794 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.01651, allocations: 8.484 kB / 0.794 GB, free: 4.629 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.01656, allocations: 16.5 kB / 0.7941 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.01656, allocations: 1.062 kB / 0.7941 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of Templates: time 0.006029/0.02259, allocations: 1.892 MB / 0.7959 GB, free: 2.758 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.03251601906959]