Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001608/0.001608, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001818/0.001818, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.44/1.44, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.664/2.664, allocations: 437.1 MB / 0.7177 GB, free: 4.547 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_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_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001982, allocations: 63.91 kB / 1.028 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3113, allocations: 151.6 MB / 1.176 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002999/0.3143, allocations: 1.505 MB / 1.177 GB, free: 4.422 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3159, allocations: 0.7557 MB / 1.178 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.316, allocations: 7.938 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.316, allocations: 3.938 kB / 1.178 GB, free: 3.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.3162, allocations: 19.84 kB / 1.178 GB, free: 3.629 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.3167, allocations: 119.6 kB / 1.178 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.3169, allocations: 87.7 kB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.317, allocations: 15.98 kB / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3171, allocations: 43.78 kB / 1.178 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.134e-05/0.3172, allocations: 35.89 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.3172, allocations: 4 kB / 1.178 GB, free: 3.328 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.3174, allocations: 103.8 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.3175, allocations: 19.97 kB / 1.178 GB, free: 3.207 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.3175, allocations: 31.8 kB / 1.178 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.3178, allocations: 151.5 kB / 1.179 GB, free: 3.027 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3178, allocations: 4 kB / 1.179 GB, free: 3.023 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3178, allocations: 3.938 kB / 1.179 GB, free: 3.02 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3178, allocations: 0 / 1.179 GB, free: 3.02 MB / 0.92 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.0007916/0.3186, allocations: 470.3 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3187, allocations: 8.031 kB / 1.179 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.3187, allocations: 8.891 kB / 1.179 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3189, allocations: 183.7 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3189, allocations: 8.375 kB / 1.179 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.319, allocations: 8.375 kB / 1.179 GB, free: 2.254 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.3192, allocations: 69.97 kB / 1.179 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3192, allocations: 0 / 1.179 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.3192, allocations: 7.984 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3192, allocations: 3.938 kB / 1.179 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3194, allocations: 39.97 kB / 1.179 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.3199, allocations: 320.7 kB / 1.18 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.3201, allocations: 66.58 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.3202, allocations: 32.84 kB / 1.18 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3202, allocations: 11.98 kB / 1.18 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.3205, allocations: 91.36 kB / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.3205, allocations: 0 / 1.18 GB, free: 1.543 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004197/0.3209, allocations: 157.5 kB / 1.18 GB, free: 1.383 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.321, allocations: 55.41 kB / 1.18 GB, free: 1.316 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3211, allocations: 125.8 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.3211, allocations: 34.08 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.3212, allocations: 88.38 kB / 1.18 GB, free: 1.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.3213, allocations: 31.92 kB / 1.18 GB, free: 1.02 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.3213, allocations: 37.7 kB / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3215, allocations: 322.7 kB / 1.181 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.27e-05/0.3216, allocations: 31.91 kB / 1.181 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3217, allocations: 65.14 kB / 1.181 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.3219, allocations: 101.1 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3219, allocations: 0 / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002575/0.3222, allocations: 129.5 kB / 1.181 GB, free: 296 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3222, allocations: 8.125 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3222, allocations: 0 / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3222, allocations: 4 kB / 1.181 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.3223, allocations: 19.92 kB / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3223, allocations: 0 / 1.181 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3225, allocations: 19.94 kB / 1.181 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.3225, allocations: 4 kB / 1.181 GB, free: 240 kB / 0.92 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.0001148/0.3226, allocations: 124 kB / 1.181 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.3226, allocations: 11.95 kB / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.323, allocations: 149.9 kB / 1.181 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.323, allocations: 4 kB / 1.181 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.323, allocations: 4 kB / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.323, allocations: 0 / 1.181 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.3237, allocations: 430.2 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3237, allocations: 0 / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.3238, allocations: 12 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3238, allocations: 0 / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.3238, allocations: 11.98 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3238, allocations: 0 / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3238, allocations: 3.938 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.3241, allocations: 223.6 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.3242, allocations: 89.05 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.3242, allocations: 4 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.3243, allocations: 11.98 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.3244, allocations: 19.86 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3244, allocations: 8 kB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.338e-05/0.3245, allocations: 91.27 kB / 1.182 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3245, allocations: 0 / 1.182 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003189/0.3248, allocations: 39.94 kB / 1.182 GB, free: 14.92 MB / 0.9356 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.0003795/0.3252, allocations: 175.9 kB / 1.182 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3255, allocations: 79.91 kB / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.3255, allocations: 0 / 1.183 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3256, allocations: 51.91 kB / 1.183 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.3259, allocations: 22.11 kB / 1.183 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004883/0.3264, allocations: 237.4 kB / 1.183 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.3268, allocations: 0.6924 MB / 1.183 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.3268, allocations: 23.42 kB / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3268, allocations: 0 / 1.184 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of Templates: time 0.004099/0.3309, allocations: 1.826 MB / 1.185 GB, free: 11.77 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.723256709054112]