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.00107/0.00107, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001148/0.001148, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9162/0.9162, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.608/1.608, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.564e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001851/0.001877, allocations: 1.513 MB / 0.9532 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.002894, allocations: 0.8106 MB / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.002951, allocations: 0 / 0.954 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.00298, allocations: 7.875 kB / 0.954 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.003062, allocations: 15.81 kB / 0.954 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.003571, allocations: 159.3 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.003682, allocations: 87.69 kB / 0.9542 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.003767, allocations: 11.94 kB / 0.9542 GB, free: 412 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.003905, allocations: 63.81 kB / 0.9543 GB, free: 348 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.003957, allocations: 27.91 kB / 0.9543 GB, free: 320 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.003976, allocations: 8 kB / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.004169, allocations: 147.7 kB / 0.9545 GB, free: 164 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.004189, allocations: 11.97 kB / 0.9545 GB, free: 152 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.004225, allocations: 27.92 kB / 0.9545 GB, free: 124 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.004465, allocations: 179.5 kB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004466, allocations: 0 / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004467, allocations: 4 kB / 0.9547 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.004472, allocations: 0 / 0.9547 GB, free: 15.94 MB / 0.9167 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.000558/0.00503, allocations: 397.1 kB / 0.9551 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.00507, allocations: 12.03 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.005251, allocations: 28.86 kB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.00543, allocations: 129.6 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.005445, allocations: 12.31 kB / 0.9552 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.005458, allocations: 8.375 kB / 0.9552 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.005598, allocations: 74.2 kB / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.005605, allocations: 192 / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.005616, allocations: 384 / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.005621, allocations: 3.938 kB / 0.9553 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.394e-05/0.005705, allocations: 43.97 kB / 0.9554 GB, free: 15.18 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.006062, allocations: 252.4 kB / 0.9556 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.006169, allocations: 54.56 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.006216, allocations: 36.83 kB / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.006234, allocations: 0 / 0.9557 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.006359, allocations: 99.28 kB / 0.9558 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.00636, allocations: 4 kB / 0.9558 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0002729/0.006633, allocations: 161.5 kB / 0.9559 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.00667, allocations: 63.39 kB / 0.956 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.00675, allocations: 129.2 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.006764, allocations: 29.7 kB / 0.9562 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.006807, allocations: 92.38 kB / 0.9562 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.006827, allocations: 23.8 kB / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.006865, allocations: 29.7 kB / 0.9563 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.006947, allocations: 326.8 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.006997, allocations: 27.98 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.219e-05/0.007059, allocations: 69.12 kB / 0.9567 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.007167, allocations: 105 kB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.00717, allocations: 0 / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000153/0.007323, allocations: 133.4 kB / 0.9569 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.007335, allocations: 7.938 kB / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.007343, allocations: 7.984 kB / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.007353, allocations: 0 / 0.9569 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.007416, allocations: 15.98 kB / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007421, allocations: 128 / 0.957 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.94e-05/0.007471, allocations: 16 kB / 0.957 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.007481, allocations: 7.984 kB / 0.957 GB, free: 13.37 MB / 0.9167 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 7.144e-05/0.007553, allocations: 131.6 kB / 0.9571 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.167e-05/0.007565, allocations: 11.89 kB / 0.9571 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.007769, allocations: 142.1 kB / 0.9572 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.007772, allocations: 4 kB / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.007776, allocations: 0 / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.007779, allocations: 0 / 0.9573 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.008108, allocations: 374.1 kB / 0.9576 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.00811, allocations: 0 / 0.9576 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.008144, allocations: 15.92 kB / 0.9576 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.008146, allocations: 0 / 0.9576 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.008155, allocations: 0 / 0.9576 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.008157, allocations: 4 kB / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.008158, allocations: 0 / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.008327, allocations: 231.5 kB / 0.9579 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.008338, allocations: 11.95 kB / 0.9579 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.008354, allocations: 8 kB / 0.9579 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.084e-05/0.008404, allocations: 8.359 kB / 0.9579 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.008451, allocations: 11.98 kB / 0.9579 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.008466, allocations: 7.984 kB / 0.9579 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.008509, allocations: 103.2 kB / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008509, allocations: 3.938 kB / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002118/0.00872, allocations: 43.89 kB / 0.958 GB, free: 12.21 MB / 0.9167 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.0002815/0.009002, allocations: 184 kB / 0.9582 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.009156, allocations: 83.83 kB / 0.9583 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.009158, allocations: 0 / 0.9583 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.274e-05/0.009221, allocations: 43.91 kB / 0.9583 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.009429, allocations: 22.89 kB / 0.9584 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000627/0.01006, allocations: 230.8 kB / 0.9586 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.01011, allocations: 83.67 kB / 0.9587 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.01014, allocations: 16.5 kB / 0.9587 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/0.01014, allocations: 0 / 0.9587 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of Templates: time 0.002607/0.01275, allocations: 1.893 MB / 0.9605 GB, free: 9.625 MB / 0.9167 GB " [Timeout remaining time 300] 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/jenkins/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: 6.756717712618411]