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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 198.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.87/2.87, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002109/0.002109, allocations: 63.89 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8814/0.8835, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002954/0.8865, allocations: 1.515 MB / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.888, allocations: 0.7767 MB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.888, allocations: 0 / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/0.8881, allocations: 11.86 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.8882, allocations: 7.875 kB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.8887, allocations: 127.6 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.8889, allocations: 87.75 kB / 1.276 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.889, allocations: 8 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.8891, allocations: 47.78 kB / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.8891, allocations: 39.83 kB / 1.277 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.8892, allocations: 4 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.8894, allocations: 107.8 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.8894, allocations: 19.92 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.8895, allocations: 39.78 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.8897, allocations: 146.2 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8897, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8897, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.8897, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 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.0008403/0.8906, allocations: 474.3 kB / 1.277 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.8906, allocations: 8.031 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.8907, allocations: 8.891 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.8908, allocations: 176.2 kB / 1.278 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.8908, allocations: 12.34 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.8909, allocations: 8.375 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.8911, allocations: 69.97 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8911, allocations: 4 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.8911, allocations: 4 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.8911, allocations: 0 / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.8912, allocations: 43.91 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.8918, allocations: 320.7 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.892, allocations: 62.55 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.8921, allocations: 28.84 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.8921, allocations: 0 / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.8923, allocations: 99.39 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.8923, allocations: 0 / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004382/0.8928, allocations: 161.8 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.8928, allocations: 55.41 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.8929, allocations: 125.9 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.893, allocations: 33.64 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.893, allocations: 92.38 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.8931, allocations: 27.94 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.8931, allocations: 37.69 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.8933, allocations: 318.8 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.8933, allocations: 27.98 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.8935, allocations: 73.06 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.8936, allocations: 101.1 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8936, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002504/0.8939, allocations: 125.4 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.8939, allocations: 8 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.8939, allocations: 3.984 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.8939, allocations: 4 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.8941, allocations: 20.05 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.8941, allocations: 4 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.8942, allocations: 19.95 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.8942, allocations: 7.984 kB / 1.279 GB, free: 14.83 MB / 0.9825 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.0001212/0.8943, allocations: 128.5 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.8943, allocations: 7.953 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.8947, allocations: 146 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.8947, allocations: 11.98 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8947, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.8947, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.8953, allocations: 434.3 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8953, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.8954, allocations: 8 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8954, allocations: 0 / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.8954, allocations: 7.984 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8954, allocations: 8 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8954, allocations: 3.938 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.8957, allocations: 219.4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.8958, allocations: 89.05 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.8958, allocations: 3.938 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.8959, allocations: 11.98 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.896, allocations: 15.92 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.896, allocations: 4 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.134e-05/0.8961, allocations: 104 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8961, allocations: 0 / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000318/0.8964, allocations: 43.88 kB / 1.281 GB, free: 13.5 MB / 0.9825 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.0004035/0.8968, allocations: 171 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002532/0.8971, allocations: 83.83 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8971, allocations: 0 / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.8972, allocations: 48.12 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.8975, allocations: 12.2 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.898, allocations: 223.6 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.8983, allocations: 0.6963 MB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.8984, allocations: 8.422 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.8984, allocations: 11.44 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.8984, allocations: 4 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of Templates: time 0.005418/0.9038, allocations: 1.827 MB / 1.284 GB, free: 10.39 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.20038705598563]