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.00177/0.00177, allocations: 104.3 kB / 19.71 MB, free: 2.148 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.001659/0.001659, allocations: 207.6 kB / 22.99 MB, free: 4.977 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.801/2.801, allocations: 476 MB / 0.7707 GB, free: 4.754 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.002047/0.002047, allocations: 68.45 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3272, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002988/0.3302, allocations: 1.519 MB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3317, allocations: 0.7964 MB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.3318, allocations: 3.938 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.3318, allocations: 7.938 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.759e-05/0.3319, allocations: 15.81 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.3325, allocations: 151.5 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3326, allocations: 83.77 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3327, allocations: 8 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3329, allocations: 51.77 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.215e-05/0.3329, allocations: 35.84 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.333, allocations: 8 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.3332, allocations: 147.7 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.3333, allocations: 15.97 kB / 1.287 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.361e-05/0.3333, allocations: 35.8 kB / 1.287 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002727/0.3336, allocations: 167.3 kB / 1.287 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3336, allocations: 4 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3336, allocations: 0 / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3336, allocations: 0 / 1.287 GB, free: 8.895 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.0007331/0.3344, allocations: 389.2 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3344, allocations: 12.03 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.3347, allocations: 36.86 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.3349, allocations: 134.4 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.3349, allocations: 4.375 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.335, allocations: 8.312 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.3352, allocations: 81.89 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.629e-06/0.3352, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.3352, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3352, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.3353, allocations: 43.97 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.3358, allocations: 252.5 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.336, allocations: 62.52 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.3361, allocations: 36.84 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.3361, allocations: 0 / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.3363, allocations: 91.36 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.3363, allocations: 0 / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004256/0.3367, allocations: 165.8 kB / 1.288 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3367, allocations: 55.41 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3369, allocations: 136.6 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.3369, allocations: 25.8 kB / 1.288 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.337, allocations: 100.3 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.337, allocations: 31.92 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.3371, allocations: 29.7 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3373, allocations: 318.8 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.3373, allocations: 31.97 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3374, allocations: 61.89 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.3376, allocations: 105 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3376, allocations: 0 / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002556/0.3379, allocations: 129.5 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3379, allocations: 7.984 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3379, allocations: 8.125 kB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3379, allocations: 0 / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.338, allocations: 23.92 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3381, allocations: 0 / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3382, allocations: 11.95 kB / 1.289 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3382, allocations: 7.984 kB / 1.289 GB, free: 6.32 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.0001201/0.3383, allocations: 135.7 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.3383, allocations: 7.953 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.3387, allocations: 149.9 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.3387, allocations: 4 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3387, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3387, allocations: 0 / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/0.3393, allocations: 370 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3393, allocations: 0 / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.823e-05/0.3393, allocations: 11.98 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3393, allocations: 0 / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3394, allocations: 0 / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3394, allocations: 12 kB / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3394, allocations: 0 / 1.29 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.3397, allocations: 235.3 kB / 1.29 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.3397, allocations: 3.953 kB / 1.29 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3397, allocations: 4 kB / 1.29 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.3399, allocations: 11.98 kB / 1.29 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.3399, allocations: 7.984 kB / 1.29 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.3399, allocations: 15.92 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.471e-05/0.34, allocations: 99.2 kB / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.34, allocations: 0 / 1.29 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003241/0.3403, allocations: 47.88 kB / 1.29 GB, free: 5.156 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.0003829/0.3407, allocations: 161 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002563/0.341, allocations: 91.89 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.341, allocations: 256 / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.3411, allocations: 43.97 kB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.3414, allocations: 15.98 kB / 1.29 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004946/0.3419, allocations: 249.5 kB / 1.291 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.297e-05/0.342, allocations: 75.89 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.342, allocations: 15.44 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.342, allocations: 4 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of Templates: time 0.004244/0.3462, allocations: 1.881 MB / 1.293 GB, free: 2.598 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.620994598139077]