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.001686/0.001686, allocations: 110.2 kB / 19.69 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.002159/0.002159, allocations: 216.3 kB / 23.01 MB, free: 4.566 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.738/2.738, allocations: 476.7 MB / 0.7714 GB, free: 4.266 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.001995/0.001995, allocations: 66.69 kB / 1.119 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 169.9 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002807/0.3169, allocations: 1.56 MB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.3184, allocations: 0.8547 MB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.3185, allocations: 0 / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.3185, allocations: 3.938 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.3187, allocations: 19.86 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.3193, allocations: 151.5 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3194, allocations: 91.64 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.947e-05/0.3195, allocations: 15.92 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.3197, allocations: 39.91 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.185e-05/0.3197, allocations: 51.7 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3198, allocations: 4 kB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.32, allocations: 147.8 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.3201, allocations: 15.98 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.3201, allocations: 39.8 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002751/0.3204, allocations: 167.4 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3204, allocations: 11.88 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3204, allocations: 0 / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3204, allocations: 0 / 1.288 GB, free: 8.043 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.0007234/0.3211, allocations: 394.7 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3212, allocations: 8.031 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.3215, allocations: 32.88 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.3217, allocations: 138.4 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3217, allocations: 384 / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3217, allocations: 8.375 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3219, allocations: 81.89 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3219, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3219, allocations: 0 / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3219, allocations: 4 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3221, allocations: 39.97 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005371/0.3226, allocations: 295.8 kB / 1.289 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.3228, allocations: 54.55 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.067e-05/0.3228, allocations: 36.84 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.3228, allocations: 4 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.323, allocations: 87.45 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.323, allocations: 3.938 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004199/0.3234, allocations: 153.6 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.3235, allocations: 59.34 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3236, allocations: 137 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3236, allocations: 29.7 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.3237, allocations: 92.38 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.3237, allocations: 31.92 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.3238, allocations: 37.58 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3239, allocations: 326.8 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.324, allocations: 27.98 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3241, allocations: 65.14 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3243, allocations: 93.06 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3243, allocations: 4 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002516/0.3245, allocations: 133.5 kB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3246, allocations: 8 kB / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3246, allocations: 0 / 1.29 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.3246, allocations: 7.938 kB / 1.29 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.3247, allocations: 11.98 kB / 1.29 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3247, allocations: 4 kB / 1.29 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3248, allocations: 16.03 kB / 1.29 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3248, allocations: 12.12 kB / 1.29 GB, free: 5.422 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.0001041/0.3249, allocations: 129.6 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.3249, allocations: 7.953 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.3253, allocations: 142 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3253, allocations: 7.938 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3253, allocations: 0 / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3253, allocations: 3.984 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.3258, allocations: 397.4 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3258, allocations: 0 / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.529e-05/0.3259, allocations: 8 kB / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3259, allocations: 0 / 1.291 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3259, allocations: 7.984 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.3259, allocations: 4 kB / 1.291 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3259, allocations: 7.875 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.3262, allocations: 231.4 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.3263, allocations: 7.953 kB / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3263, allocations: 0 / 1.291 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.3264, allocations: 11.98 kB / 1.291 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.3264, allocations: 15.92 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.3265, allocations: 0 / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.614e-05/0.3265, allocations: 103.2 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3265, allocations: 8 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003102/0.3268, allocations: 39.92 kB / 1.291 GB, free: 4.227 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.0003842/0.3272, allocations: 162.8 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.3275, allocations: 84.02 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3275, allocations: 4.062 kB / 1.291 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.3276, allocations: 39.98 kB / 1.291 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3279, allocations: 15.92 kB / 1.291 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.3284, allocations: 241.7 kB / 1.292 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3287, allocations: 0.7002 MB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.3287, allocations: 15.44 kB / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3287, allocations: 0 / 1.292 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of Templates: time 0.004003/0.3327, allocations: 1.86 MB / 1.294 GB, free: 1.07 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.48226663499372]