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.001925/0.001925, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.002439/0.002439, allocations: 161.7 kB / 23.55 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.547/1.547, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.731/2.731, 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.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.362e-06/1.362e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.95e-05/3.086e-05, allocations: 6.797 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002987/0.003018, allocations: 1.525 MB / 0.7878 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.005108, allocations: 0.8084 MB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.005172, allocations: 5.781 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.005207, allocations: 3.938 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.005321, allocations: 19.81 kB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000695/0.006016, allocations: 152.1 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.006188, allocations: 91.69 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.041e-05/0.006279, allocations: 12.73 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.006482, allocations: 59.83 kB / 0.789 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.34e-05/0.006565, allocations: 33.17 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.006589, allocations: 4 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.0069, allocations: 143.7 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.006933, allocations: 17.39 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.006996, allocations: 27.91 kB / 0.7892 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.007346, allocations: 187.4 kB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.007349, allocations: 0 / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.007349, allocations: 1.062 kB / 0.7893 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.007354, allocations: 0 / 0.7893 GB, free: 9.781 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.0008075/0.008161, allocations: 398.6 kB / 0.7897 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.008198, allocations: 8.031 kB / 0.7897 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/0.008546, allocations: 29.38 kB / 0.7898 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.008806, allocations: 139.7 kB / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.00882, allocations: 384 / 0.7899 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.00884, allocations: 8.375 kB / 0.7899 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.009041, allocations: 71.8 kB / 0.79 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.00905, allocations: 192 / 0.79 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.009066, allocations: 4.375 kB / 0.79 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.009073, allocations: 7.938 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.009227, allocations: 41.59 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.009763, allocations: 244.5 kB / 0.7903 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.009939, allocations: 65.11 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.793e-05/0.01003, allocations: 28.84 kB / 0.7903 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.01005, allocations: 4 kB / 0.7904 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.01028, allocations: 99.47 kB / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.01028, allocations: 0 / 0.7904 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0004751/0.01075, allocations: 163.8 kB / 0.7906 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.01081, allocations: 55.41 kB / 0.7907 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.01095, allocations: 132.2 kB / 0.7908 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.01098, allocations: 29.7 kB / 0.7908 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/0.01106, allocations: 96.31 kB / 0.7909 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.0111, allocations: 24.95 kB / 0.7909 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.01117, allocations: 29.7 kB / 0.791 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.01136, allocations: 322.8 kB / 0.7913 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/0.01145, allocations: 29.36 kB / 0.7913 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.01157, allocations: 73.06 kB / 0.7914 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.01178, allocations: 98.81 kB / 0.7915 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01178, allocations: 0.5625 kB / 0.7915 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002976/0.01208, allocations: 138.4 kB / 0.7916 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.0121, allocations: 9.875 kB / 0.7916 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.01211, allocations: 4 kB / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.01213, allocations: 0 / 0.7916 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.01226, allocations: 27.92 kB / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01226, allocations: 0 / 0.7916 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.01237, allocations: 14.08 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.01239, allocations: 4 kB / 0.7916 GB, free: 7.227 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.0001235/0.01251, allocations: 123.9 kB / 0.7918 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.01254, allocations: 15.88 kB / 0.7918 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003668/0.01291, allocations: 151 kB / 0.7919 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01291, allocations: 0.7188 kB / 0.7919 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01292, allocations: 0 / 0.7919 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01292, allocations: 0.5312 kB / 0.7919 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.01356, allocations: 375.4 kB / 0.7923 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01357, allocations: 0 / 0.7923 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.01363, allocations: 8 kB / 0.7923 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01364, allocations: 4.531 kB / 0.7923 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.01366, allocations: 7.984 kB / 0.7923 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.01366, allocations: 1.312 kB / 0.7923 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01366, allocations: 0 / 0.7923 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003867/0.01405, allocations: 247.2 kB / 0.7925 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.01406, allocations: 8.859 kB / 0.7925 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.01409, allocations: 4 kB / 0.7925 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.01421, allocations: 8.828 kB / 0.7926 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.01427, allocations: 11.98 kB / 0.7926 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.01429, allocations: 5.344 kB / 0.7926 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.06e-05/0.01437, allocations: 95.27 kB / 0.7927 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01437, allocations: 0 / 0.7927 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003337/0.0147, allocations: 51.86 kB / 0.7927 GB, free: 6.074 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.0004546/0.01516, allocations: 174.8 kB / 0.7929 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002739/0.01543, allocations: 88.7 kB / 0.793 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01543, allocations: 3.469 kB / 0.793 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.01555, allocations: 39.92 kB / 0.793 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.01586, allocations: 23.92 kB / 0.793 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.01638, allocations: 204.6 kB / 0.7932 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.296e-05/0.01647, allocations: 79.86 kB / 0.7933 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.959e-05/0.01652, allocations: 13.83 kB / 0.7933 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.923e-05/0.01657, allocations: 12.5 kB / 0.7933 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.01657, allocations: 0.8438 kB / 0.7933 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of Templates: time 0.005927/0.0225, allocations: 1.887 MB / 0.7952 GB, free: 3.574 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 400] 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: 7.805296320933849]