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.001341/0.001341, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001472/0.001472, allocations: 224.3 kB / 23 MB, free: 4.914 MB / 14.72 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.718/2.718, allocations: 476 MB / 0.7707 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 69.2 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 170 MB / 1.284 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002944/0.3091, allocations: 1.531 MB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001806/0.3109, allocations: 0.7924 MB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.466e-05/0.311, allocations: 0 / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.311, allocations: 7.922 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.3111, allocations: 23.8 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.3118, allocations: 151.5 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.312, allocations: 91.69 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3121, allocations: 4 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3123, allocations: 47.83 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.3124, allocations: 35.78 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.3124, allocations: 8 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.3127, allocations: 143.7 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.3128, allocations: 19.98 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.536e-05/0.3128, allocations: 27.86 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.3131, allocations: 171.4 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3131, allocations: 0 / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 8.045e-06/0.3132, allocations: 4 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3132, allocations: 0 / 1.287 GB, free: 8.949 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.0008531/0.314, allocations: 393.2 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.3141, allocations: 8.031 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003239/0.3144, allocations: 32.86 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.3147, allocations: 134.4 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3147, allocations: 384 / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3147, allocations: 8.375 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.3149, allocations: 73.95 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3149, allocations: 0 / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3149, allocations: 8 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3149, allocations: 0 / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.3151, allocations: 43.84 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.3156, allocations: 264.4 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3157, allocations: 58.5 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.3158, allocations: 32.84 kB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.3158, allocations: 7.984 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001859/0.316, allocations: 91.39 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.316, allocations: 0 / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004121/0.3164, allocations: 161.5 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3165, allocations: 51.41 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.3166, allocations: 132.4 kB / 1.288 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.3166, allocations: 33.7 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.3167, allocations: 92.31 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.3167, allocations: 23.8 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.3168, allocations: 33.7 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3169, allocations: 318.8 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.339e-05/0.317, allocations: 27.98 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3171, allocations: 65.12 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.3173, allocations: 116.9 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3173, allocations: 0 / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002511/0.3176, allocations: 121.5 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3176, allocations: 8 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3176, allocations: 4.125 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3176, allocations: 4.094 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3177, allocations: 11.98 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.3177, allocations: 11.92 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.3178, allocations: 19.94 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.3178, allocations: 7.984 kB / 1.289 GB, free: 6.375 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.0001025/0.318, allocations: 122.1 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/0.318, allocations: 7.953 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.3183, allocations: 161.9 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3183, allocations: 0 / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3183, allocations: 3.938 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3183, allocations: 0 / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.3189, allocations: 362.2 kB / 1.29 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3189, allocations: 3.938 kB / 1.29 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.068e-05/0.3189, allocations: 19.92 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3189, allocations: 4 kB / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3189, allocations: 0 / 1.29 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3189, allocations: 4 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.319, allocations: 0 / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.3193, allocations: 231.5 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.3193, allocations: 11.95 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.3193, allocations: 0 / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3194, allocations: 7.984 kB / 1.29 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.3195, allocations: 11.98 kB / 1.29 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.3195, allocations: 7.938 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.613e-05/0.3195, allocations: 107.2 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3195, allocations: 4 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003157/0.3199, allocations: 43.88 kB / 1.29 GB, free: 5.211 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.0003616/0.3202, allocations: 156.6 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.3205, allocations: 79.89 kB / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3205, allocations: 256 / 1.29 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.3206, allocations: 59.95 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.3209, allocations: 16.12 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004878/0.3214, allocations: 233.6 kB / 1.291 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.194e-05/0.3214, allocations: 79.89 kB / 1.291 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.3215, allocations: 19.42 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.3215, allocations: 4 kB / 1.291 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of Templates: time 0.003944/0.3254, allocations: 1.885 MB / 1.293 GB, free: 2.656 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.528780823107809]