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.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.001569/0.001569, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001835/0.001835, allocations: 223.3 kB / 23.01 MB, free: 4.609 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.059 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.787/2.787, allocations: 476.7 MB / 0.7714 GB, free: 4.344 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.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: 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.002127/0.002127, allocations: 68.44 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3063, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002907/0.3092, allocations: 1.546 MB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.3108, allocations: 0.8625 MB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.3109, allocations: 0 / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.3109, allocations: 3.938 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.311, allocations: 19.8 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.3116, allocations: 155.5 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.3118, allocations: 87.69 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.3119, allocations: 15.94 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.312, allocations: 43.84 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.463e-05/0.3121, allocations: 39.83 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.3121, allocations: 11.94 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.3124, allocations: 147.8 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.808e-05/0.3125, allocations: 23.91 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.3125, allocations: 35.8 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3128, allocations: 159.5 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3128, allocations: 0 / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3128, allocations: 3.938 kB / 1.288 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3128, allocations: 4 kB / 1.288 GB, free: 8.129 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.0007138/0.3135, allocations: 393.2 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3135, allocations: 8.031 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003137/0.3139, allocations: 32.86 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.3141, allocations: 126.4 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3141, allocations: 4.312 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.3141, allocations: 16.36 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3143, allocations: 69.97 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3143, allocations: 0 / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.3143, allocations: 8 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3143, allocations: 0 / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3145, allocations: 35.97 kB / 1.288 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.3151, allocations: 303.7 kB / 1.289 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.3152, allocations: 54.55 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.3153, allocations: 36.84 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3153, allocations: 7.922 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.3155, allocations: 91.39 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.3155, allocations: 4 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.000416/0.3159, allocations: 157.5 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.316, allocations: 55.39 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.3161, allocations: 132.6 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.3161, allocations: 25.7 kB / 1.289 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.681e-05/0.3162, allocations: 96.36 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.3163, allocations: 23.8 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.933e-05/0.3163, allocations: 33.7 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3165, allocations: 330.7 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.3165, allocations: 27.98 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.3167, allocations: 65.12 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.3169, allocations: 105 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3169, allocations: 0 / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002663/0.3171, allocations: 129.5 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3171, allocations: 10.66 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3172, allocations: 4.125 kB / 1.29 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3172, allocations: 4 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3173, allocations: 11.98 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3173, allocations: 7.984 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.3174, allocations: 11.95 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.3174, allocations: 15.92 kB / 1.29 GB, free: 5.508 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.0001492/0.3176, allocations: 125.7 kB / 1.29 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/0.3176, allocations: 11.95 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003307/0.3179, allocations: 145.9 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3179, allocations: 4 kB / 1.29 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3179, allocations: 3.938 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3179, allocations: 384 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.3186, allocations: 393.6 kB / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3186, allocations: 0 / 1.291 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.3187, allocations: 19.92 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.3187, allocations: 3.938 kB / 1.291 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3187, allocations: 4 kB / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3187, allocations: 0 / 1.291 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3187, allocations: 7.922 kB / 1.291 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.319, allocations: 227.6 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.3191, allocations: 7.953 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.3191, allocations: 0 / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3192, allocations: 15.98 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.3193, allocations: 19.91 kB / 1.291 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.3193, allocations: 4 kB / 1.291 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.683e-05/0.3194, allocations: 103.2 kB / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3194, allocations: 0 / 1.291 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003336/0.3197, allocations: 47.86 kB / 1.291 GB, free: 4.301 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.0003637/0.3201, allocations: 163.8 kB / 1.291 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.3203, allocations: 83.83 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3203, allocations: 0 / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00017/0.3205, allocations: 47.97 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3208, allocations: 20.17 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.3213, allocations: 233.6 kB / 1.292 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.3217, allocations: 0.6924 MB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.3218, allocations: 23.42 kB / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.3218, allocations: 0 / 1.292 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of Templates: time 0.004191/0.326, allocations: 1.849 MB / 1.294 GB, free: 1.156 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 -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/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: 11.537317273003282]