Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.001545/0.001545, allocations: 116.4 kB / 17.13 MB, free: 5.781 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.001603/0.001603, allocations: 194.1 kB / 20.08 MB, free: 2.871 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.447/1.447, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.89 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3519, allocations: 160.7 MB / 1.214 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003084/0.355, allocations: 1.523 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3565, allocations: 0.7719 MB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.3566, allocations: 0 / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.3566, allocations: 7.938 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.3567, allocations: 19.81 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.3574, allocations: 123.6 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3575, allocations: 87.69 kB / 1.216 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.3576, allocations: 8 kB / 1.217 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.3577, allocations: 39.84 kB / 1.217 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.317e-05/0.3578, allocations: 39.83 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3578, allocations: 8 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.3581, allocations: 107.8 kB / 1.217 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.33e-05/0.3581, allocations: 23.92 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.3582, allocations: 39.78 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.3585, allocations: 143.5 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3585, allocations: 4 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3585, allocations: 0 / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.3585, allocations: 0 / 1.217 GB, free: 13.95 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.0008145/0.3593, allocations: 462.3 kB / 1.217 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.3593, allocations: 12.03 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.3594, allocations: 12.89 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3596, allocations: 180.2 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3596, allocations: 4.375 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.3596, allocations: 8.375 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3598, allocations: 69.97 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.3598, allocations: 0 / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3598, allocations: 7.984 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3598, allocations: 3.938 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.36, allocations: 43.91 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.3606, allocations: 328.7 kB / 1.218 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3607, allocations: 54.55 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.3608, allocations: 32.84 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3608, allocations: 0 / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.3611, allocations: 95.39 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3611, allocations: 0 / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004284/0.3615, allocations: 161.5 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3616, allocations: 51.41 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3617, allocations: 137.4 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3617, allocations: 25.7 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.3618, allocations: 96.38 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.3618, allocations: 27.78 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.3619, allocations: 29.7 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.362, allocations: 322.8 kB / 1.219 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.421e-05/0.3621, allocations: 31.97 kB / 1.219 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.3622, allocations: 61.14 kB / 1.219 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.3624, allocations: 105 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3624, allocations: 0 / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000264/0.3627, allocations: 133.6 kB / 1.219 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3627, allocations: 4 kB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.3627, allocations: 7.984 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3627, allocations: 0 / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3628, allocations: 19.98 kB / 1.219 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3628, allocations: 7.938 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3629, allocations: 11.94 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.3629, allocations: 4 kB / 1.219 GB, free: 11.17 MB / 0.9669 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.0001262/0.3631, allocations: 132.3 kB / 1.219 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.3631, allocations: 7.953 kB / 1.219 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.3634, allocations: 149.9 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.3634, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3634, allocations: 3.938 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3634, allocations: 0 / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000624/0.3641, allocations: 438.4 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3641, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.3641, allocations: 15.94 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3641, allocations: 0 / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3642, allocations: 3.984 kB / 1.22 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3642, allocations: 4 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3642, allocations: 3.938 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.3645, allocations: 223.5 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.3645, allocations: 85.05 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3646, allocations: 8 kB / 1.22 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.3647, allocations: 7.984 kB / 1.22 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.3647, allocations: 15.92 kB / 1.22 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3648, allocations: 4 kB / 1.22 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.081e-05/0.3648, allocations: 99.2 kB / 1.22 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3648, allocations: 0 / 1.22 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003315/0.3652, allocations: 43.88 kB / 1.221 GB, free: 9.848 MB / 0.9669 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.0003738/0.3655, allocations: 166.7 kB / 1.221 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.3658, allocations: 76 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3658, allocations: 0 / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3659, allocations: 48.16 kB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3662, allocations: 21.48 kB / 1.221 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.3667, allocations: 233.2 kB / 1.221 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.367, allocations: 0.6925 MB / 1.222 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.3671, allocations: 15.42 kB / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.3671, allocations: 7.938 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of Templates: time 0.00446/0.3715, allocations: 1.836 MB / 1.224 GB, free: 6.707 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.844089244958013]