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.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.001669/0.001669, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.001721/0.001721, allocations: 191.8 kB / 22.17 MB, free: 5.203 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.452/1.452, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.744/2.744, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.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 0.001972/0.001972, allocations: 62.98 kB / 1.109 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 168.7 MB / 1.274 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002686/0.3143, allocations: 1.521 MB / 1.276 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3156, allocations: 0.7763 MB / 1.276 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.3157, allocations: 0 / 1.276 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.571e-05/0.3157, allocations: 11.81 kB / 1.276 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.784e-05/0.3158, allocations: 15.86 kB / 1.276 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.3163, allocations: 123.6 kB / 1.276 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.3164, allocations: 83.77 kB / 1.276 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.3165, allocations: 11.98 kB / 1.277 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.149e-05/0.3166, allocations: 39.8 kB / 1.277 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.3167, allocations: 47.81 kB / 1.277 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3167, allocations: 4 kB / 1.277 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.3169, allocations: 103.8 kB / 1.277 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.317, allocations: 15.98 kB / 1.277 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.302e-05/0.317, allocations: 35.8 kB / 1.277 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.3173, allocations: 155.5 kB / 1.277 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3173, allocations: 0 / 1.277 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3173, allocations: 0 / 1.277 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3173, allocations: 0 / 1.277 GB, free: 8.293 MB / 0.9825 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.000828/0.3181, allocations: 474.3 kB / 1.277 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3181, allocations: 15.95 kB / 1.277 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.3182, allocations: 8.891 kB / 1.277 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.3183, allocations: 176.2 kB / 1.278 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3184, allocations: 8.375 kB / 1.278 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.3184, allocations: 4.375 kB / 1.278 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3186, allocations: 81.95 kB / 1.278 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.3186, allocations: 0 / 1.278 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.3186, allocations: 4 kB / 1.278 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3186, allocations: 0 / 1.278 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3187, allocations: 47.91 kB / 1.278 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.3193, allocations: 316.7 kB / 1.278 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3195, allocations: 54.56 kB / 1.278 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.3196, allocations: 33 kB / 1.278 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3196, allocations: 3.984 kB / 1.278 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.3198, allocations: 99.38 kB / 1.278 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.3198, allocations: 0 / 1.278 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004407/0.3203, allocations: 153.5 kB / 1.278 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.3203, allocations: 55.41 kB / 1.278 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3204, allocations: 133.8 kB / 1.278 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.3205, allocations: 25.7 kB / 1.279 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.431e-05/0.3205, allocations: 96.36 kB / 1.279 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3206, allocations: 23.8 kB / 1.279 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.3206, allocations: 34.08 kB / 1.279 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3208, allocations: 322.8 kB / 1.279 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.3209, allocations: 31.98 kB / 1.279 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.321, allocations: 76.69 kB / 1.279 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3211, allocations: 105 kB / 1.279 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3211, allocations: 0 / 1.279 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002542/0.3214, allocations: 129.5 kB / 1.279 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3214, allocations: 8 kB / 1.279 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3214, allocations: 0 / 1.279 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3214, allocations: 4 kB / 1.279 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3216, allocations: 15.92 kB / 1.279 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3216, allocations: 4 kB / 1.279 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3217, allocations: 20.06 kB / 1.279 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.3217, allocations: 11.94 kB / 1.279 GB, free: 5.496 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.0001029/0.3218, allocations: 121.8 kB / 1.279 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.3218, allocations: 7.953 kB / 1.279 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003289/0.3221, allocations: 145.9 kB / 1.28 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3221, allocations: 4 kB / 1.28 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3221, allocations: 4 kB / 1.28 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3221, allocations: 0 / 1.28 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.3227, allocations: 434.2 kB / 1.28 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3228, allocations: 0 / 1.28 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.498e-05/0.3228, allocations: 11.98 kB / 1.28 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3228, allocations: 0 / 1.28 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3228, allocations: 0 / 1.28 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3228, allocations: 4 kB / 1.28 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3228, allocations: 3.938 kB / 1.28 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3232, allocations: 231.6 kB / 1.28 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.3232, allocations: 89 kB / 1.28 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3232, allocations: 7.938 kB / 1.28 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3234, allocations: 7.984 kB / 1.28 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.3234, allocations: 15.92 kB / 1.28 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3234, allocations: 4 kB / 1.28 GB, free: 4.316 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.728e-05/0.3235, allocations: 103.2 kB / 1.28 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3235, allocations: 0 / 1.28 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003174/0.3238, allocations: 43.94 kB / 1.281 GB, free: 4.172 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.0003748/0.3242, allocations: 158.2 kB / 1.281 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.3244, allocations: 83.89 kB / 1.281 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3244, allocations: 0 / 1.281 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3245, allocations: 47.92 kB / 1.281 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3248, allocations: 24.69 kB / 1.281 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004478/0.3253, allocations: 211.8 kB / 1.281 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3256, allocations: 0.7043 MB / 1.282 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.928e-05/0.3256, allocations: 4.438 kB / 1.282 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.3257, allocations: 15.42 kB / 1.282 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3257, allocations: 4 kB / 1.282 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of Templates: time 0.005136/0.3308, allocations: 1.826 MB / 1.284 GB, free: 1.066 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.499780246056616]