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.001816/0.001816, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002177/0.002177, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.507/1.507, allocations: 177.2 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.772/2.772, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] 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: 0 / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.993e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003652/0.003682, allocations: 1.521 MB / 0.9524 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001839/0.005521, allocations: 0.8068 MB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.005596, allocations: 0 / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.005637, allocations: 7.875 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.005743, allocations: 19.8 kB / 0.9532 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.006494, allocations: 151.4 kB / 0.9534 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.006691, allocations: 91.69 kB / 0.9535 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.006793, allocations: 7.984 kB / 0.9535 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.007002, allocations: 67.75 kB / 0.9535 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.007103, allocations: 27.91 kB / 0.9536 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.007128, allocations: 4 kB / 0.9536 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.007467, allocations: 143.7 kB / 0.9537 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.007506, allocations: 19.97 kB / 0.9537 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.11e-05/0.007567, allocations: 27.91 kB / 0.9538 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.007946, allocations: 183.5 kB / 0.9539 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.007949, allocations: 4 kB / 0.9539 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.00795, allocations: 0 / 0.9539 GB, free: 8.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.007961, allocations: 3.938 kB / 0.9539 GB, free: 8.5 MB / 0.8575 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.0009323/0.008893, allocations: 393.1 kB / 0.9543 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.008936, allocations: 8.031 kB / 0.9543 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003401/0.009276, allocations: 32.88 kB / 0.9544 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.009567, allocations: 137.5 kB / 0.9545 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.00958, allocations: 4.375 kB / 0.9545 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.009601, allocations: 4.375 kB / 0.9545 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.00981, allocations: 74.2 kB / 0.9546 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.00982, allocations: 4.188 kB / 0.9546 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.009833, allocations: 384 / 0.9546 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.009842, allocations: 3.938 kB / 0.9546 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.009988, allocations: 43.91 kB / 0.9546 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.01053, allocations: 244.5 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.01074, allocations: 62.55 kB / 0.9549 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.01082, allocations: 32.84 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.01085, allocations: 0 / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.01106, allocations: 95.33 kB / 0.955 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.01107, allocations: 0 / 0.955 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000485/0.01155, allocations: 165.5 kB / 0.9552 GB, free: 7.09 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.0116, allocations: 55.41 kB / 0.9552 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.01175, allocations: 133.8 kB / 0.9554 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.01177, allocations: 33.7 kB / 0.9554 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.01185, allocations: 96.73 kB / 0.9555 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/0.01188, allocations: 19.8 kB / 0.9555 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.01195, allocations: 33.7 kB / 0.9555 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.01211, allocations: 322.8 kB / 0.9559 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.691e-05/0.0122, allocations: 27.92 kB / 0.9559 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.01231, allocations: 73.06 kB / 0.9559 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.01252, allocations: 105.1 kB / 0.956 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01252, allocations: 0 / 0.956 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002896/0.01281, allocations: 133.4 kB / 0.9562 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.01283, allocations: 7.938 kB / 0.9562 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.01283, allocations: 0 / 0.9562 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01285, allocations: 4 kB / 0.9562 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01296, allocations: 19.98 kB / 0.9562 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.01297, allocations: 8.062 kB / 0.9562 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.01308, allocations: 15.94 kB / 0.9562 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.0131, allocations: 4 kB / 0.9562 GB, free: 5.926 MB / 0.8575 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.0001126/0.01321, allocations: 117.8 kB / 0.9563 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.01324, allocations: 15.88 kB / 0.9564 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.01361, allocations: 150 kB / 0.9565 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01361, allocations: 0 / 0.9565 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01361, allocations: 0 / 0.9565 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.01362, allocations: 8 kB / 0.9565 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.01426, allocations: 370.1 kB / 0.9569 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01426, allocations: 0 / 0.9569 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.01433, allocations: 11.94 kB / 0.9569 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01434, allocations: 0 / 0.9569 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.01435, allocations: 7.984 kB / 0.9569 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01436, allocations: 0 / 0.9569 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01436, allocations: 0 / 0.9569 GB, free: 5.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.01473, allocations: 235.5 kB / 0.9571 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.01475, allocations: 19.94 kB / 0.9571 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.01478, allocations: 0 / 0.9571 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.0149, allocations: 15.98 kB / 0.9571 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.01495, allocations: 7.984 kB / 0.9571 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.01497, allocations: 4 kB / 0.9572 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.126e-05/0.01506, allocations: 105.6 kB / 0.9573 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01506, allocations: 0 / 0.9573 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000348/0.01541, allocations: 47.86 kB / 0.9573 GB, free: 4.766 MB / 0.8575 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.0004454/0.01585, allocations: 173.1 kB / 0.9575 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.01611, allocations: 83.83 kB / 0.9575 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01612, allocations: 0 / 0.9575 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.01623, allocations: 39.92 kB / 0.9576 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.01655, allocations: 26.16 kB / 0.9576 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.01708, allocations: 197.3 kB / 0.9578 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.816e-05/0.01717, allocations: 83.66 kB / 0.9579 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.803e-05/0.01722, allocations: 8.5 kB / 0.9579 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.325e-05/0.01728, allocations: 20.48 kB / 0.9579 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of SimCode: time 7.62e-07/0.01728, allocations: 0 / 0.9579 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of Templates: time 0.006036/0.02331, allocations: 1.865 MB / 0.9597 GB, free: 2.273 MB / 0.8575 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: 8.143696419894695]