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.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.00168/0.00168, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002476/0.002476, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.873/2.873, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.89 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8109, allocations: 168.7 MB / 1.274 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002656/0.8135, allocations: 1.535 MB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.8148, allocations: 0.7728 MB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.8149, allocations: 0 / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.8149, allocations: 3.938 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.815, allocations: 23.8 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.8155, allocations: 123.6 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.8156, allocations: 83.75 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.815e-05/0.8157, allocations: 11.98 kB / 1.277 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.891e-05/0.8158, allocations: 35.86 kB / 1.277 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.67e-05/0.8158, allocations: 51.75 kB / 1.277 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.8159, allocations: 8 kB / 1.277 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001933/0.8161, allocations: 99.89 kB / 1.277 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.8161, allocations: 15.98 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.8161, allocations: 39.78 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.8164, allocations: 146.2 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.8164, allocations: 0 / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.085e-06/0.8164, allocations: 4 kB / 1.277 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8164, allocations: 0 / 1.277 GB, free: 1.637 MB / 0.9669 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.0007312/0.8171, allocations: 466.3 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.8171, allocations: 15.97 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.8172, allocations: 8.891 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.8173, allocations: 176.3 kB / 1.278 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.8174, allocations: 4.375 kB / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.8174, allocations: 8.375 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.8176, allocations: 81.83 kB / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.8176, allocations: 4 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.8176, allocations: 4 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.8176, allocations: 0 / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.8177, allocations: 39.97 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.8182, allocations: 324.7 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.8184, allocations: 54.55 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/0.8185, allocations: 36.84 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.8185, allocations: 0 / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.8187, allocations: 87.45 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.8187, allocations: 3.938 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004015/0.8191, allocations: 157.6 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.8192, allocations: 59.34 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.8193, allocations: 135 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.8193, allocations: 25.7 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.8194, allocations: 92.38 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.8194, allocations: 27.94 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.8195, allocations: 29.7 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.8196, allocations: 326.8 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.8197, allocations: 23.98 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.8198, allocations: 68.27 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.82, allocations: 105 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.82, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002461/0.8202, allocations: 129.5 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.8202, allocations: 4 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.8202, allocations: 4.375 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.8202, allocations: 3.938 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.8204, allocations: 23.98 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8204, allocations: 4.125 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.8205, allocations: 19.88 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.8205, allocations: 4 kB / 1.279 GB, free: 14.86 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.8206, allocations: 137.6 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.8206, allocations: 7.953 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.8209, allocations: 142 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8209, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.8209, allocations: 4 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8209, allocations: 3.984 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.8215, allocations: 434.3 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.8215, allocations: 4 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.229e-05/0.8216, allocations: 11.98 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.8216, allocations: 4 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.8216, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8216, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8216, allocations: 11.88 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.8219, allocations: 223.5 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.822, allocations: 81.06 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.822, allocations: 11.94 kB / 1.28 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.8221, allocations: 7.984 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.8221, allocations: 15.92 kB / 1.28 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.8222, allocations: 4 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.445e-05/0.8222, allocations: 103.3 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8222, allocations: 0 / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003162/0.8225, allocations: 47.86 kB / 1.281 GB, free: 13.52 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.0003505/0.8229, allocations: 168.9 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.8231, allocations: 84.11 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.8231, allocations: 0 / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.8232, allocations: 39.92 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.8235, allocations: 19.92 kB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.824, allocations: 219.6 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.8242, allocations: 0.6963 MB / 1.282 GB, free: 12.26 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.8243, allocations: 12.42 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.8243, allocations: 11.44 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8243, allocations: 0 / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.004878/0.8292, allocations: 1.833 MB / 1.284 GB, free: 10.41 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 -s gbode -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_2/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: 8.705449933186173]