Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 193.7 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.36 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4059, allocations: 157.4 MB / 1.052 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.003172/0.4091, allocations: 1.572 MB / 1.054 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.4106, allocations: 0.775 MB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.4106, allocations: 0 / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.4107, allocations: 3.938 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.4108, allocations: 15.92 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.4113, allocations: 99.77 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.4114, allocations: 83.77 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.4115, allocations: 11.92 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.4116, allocations: 35.86 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.4117, allocations: 43.81 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.87e-05/0.4117, allocations: 4 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.4119, allocations: 95.84 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.4119, allocations: 11.92 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.474e-05/0.412, allocations: 31.86 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.4123, allocations: 147.9 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4123, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4123, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4123, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 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.001028/0.4134, allocations: 466.6 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.4134, allocations: 8.031 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.607e-05/0.4135, allocations: 8.844 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.4137, allocations: 172.2 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.4137, allocations: 12.36 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.4138, allocations: 8.312 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.414, allocations: 77.91 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.414, allocations: 0 / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4141, allocations: 0 / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4141, allocations: 4 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.4143, allocations: 47.97 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007566/0.415, allocations: 324.5 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.4153, allocations: 62.55 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.4154, allocations: 36.84 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.4154, allocations: 8.141 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003582/0.4158, allocations: 91.39 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.874e-06/0.4158, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0006085/0.4164, allocations: 157.5 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4165, allocations: 59.41 kB / 1.056 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.4167, allocations: 129.1 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.4167, allocations: 29.7 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.4168, allocations: 92.28 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.4168, allocations: 15.81 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-05/0.4169, allocations: 33.7 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.417, allocations: 322.8 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/0.4172, allocations: 27.98 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.4173, allocations: 69.12 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.4175, allocations: 105 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4176, allocations: 384 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003297/0.4179, allocations: 129.4 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4179, allocations: 4 kB / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.4179, allocations: 0 / 1.057 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.418, allocations: 11.92 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.4181, allocations: 15.98 kB / 1.057 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.4182, allocations: 4.125 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.4183, allocations: 19.78 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.4183, allocations: 8.078 kB / 1.057 GB, free: 3.125 MB / 0.8106 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.0001251/0.4185, allocations: 129.7 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.4185, allocations: 7.906 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.4189, allocations: 142 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4189, allocations: 8 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.419, allocations: 3.938 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.419, allocations: 0 / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.4197, allocations: 430.3 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4197, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.4198, allocations: 11.94 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4198, allocations: 0 / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.4198, allocations: 7.984 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.4199, allocations: 4 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4199, allocations: 3.938 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.4203, allocations: 219.4 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.4204, allocations: 92.94 kB / 1.058 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.4204, allocations: 4 kB / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.4206, allocations: 12 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.4207, allocations: 19.91 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.4207, allocations: 8 kB / 1.058 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.758e-05/0.4208, allocations: 95.27 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4208, allocations: 0 / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000479/0.4213, allocations: 36 kB / 1.059 GB, free: 1.809 MB / 0.8106 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.0004426/0.4217, allocations: 170.9 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.4221, allocations: 79.91 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4221, allocations: 3.938 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.4223, allocations: 51.91 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.4227, allocations: 20.98 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006007/0.4233, allocations: 217.7 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4237, allocations: 0.6926 MB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.298e-05/0.4238, allocations: 20.58 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.4238, allocations: 19.44 kB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.4238, allocations: 0 / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of Templates: time 0.006586/0.4304, allocations: 1.667 MB / 1.061 GB, free: 14.84 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches