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.001317/0.001318, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001494/0.001494, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.763/2.763, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 62.91 kB / 0.8986 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.346, allocations: 157.4 MB / 1.052 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002954/0.349, allocations: 1.566 MB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3505, allocations: 0.7672 MB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.3505, allocations: 0 / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.082e-05/0.3506, allocations: 3.938 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.3508, allocations: 11.92 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.3516, allocations: 115.8 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.3518, allocations: 75.78 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3519, allocations: 23.91 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.3521, allocations: 35.86 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3522, allocations: 43.81 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.3523, allocations: 4 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.3525, allocations: 99.84 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.3526, allocations: 19.92 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.3527, allocations: 31.86 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.353, allocations: 147.9 kB / 1.055 GB, free: 5.762 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.353, allocations: 4 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.046e-06/0.353, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.3531, allocations: 0 / 1.055 GB, free: 5.758 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.001073/0.3541, allocations: 450.6 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.3542, allocations: 12.03 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.3543, allocations: 12.78 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3545, allocations: 192 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.3546, allocations: 8.312 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.3546, allocations: 8.359 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000247/0.3549, allocations: 73.97 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3549, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3549, allocations: 3.984 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3549, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3551, allocations: 43.97 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.3558, allocations: 324.6 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.356, allocations: 62.55 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.3561, allocations: 32.84 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.3561, allocations: 0 / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003083/0.3565, allocations: 103.4 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.3565, allocations: 0 / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10): time 0.0004972/0.357, allocations: 153.5 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.357, allocations: 59.41 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.3572, allocations: 121.8 kB / 1.057 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.3572, allocations: 29.7 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.3573, allocations: 100.4 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.3574, allocations: 19.8 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.3574, allocations: 37.7 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3576, allocations: 319.2 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.3577, allocations: 35.97 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3578, allocations: 69.14 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.358, allocations: 101 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.358, allocations: 3.938 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002454/0.3583, allocations: 129.4 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3583, allocations: 8 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3583, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.3583, allocations: 4 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.3584, allocations: 15.92 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.3585, allocations: 4 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3586, allocations: 23.83 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.3586, allocations: 4 kB / 1.058 GB, free: 2.973 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.0001202/0.3587, allocations: 127.4 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3588, allocations: 11.91 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003343/0.3591, allocations: 138 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3591, allocations: 8.031 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.3591, allocations: 3.984 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3591, allocations: 0 / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005953/0.3597, allocations: 438.3 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3597, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.3598, allocations: 11.94 kB / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3598, allocations: 0 / 1.058 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.3599, allocations: 3.984 kB / 1.058 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3599, allocations: 4 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3599, allocations: 3.938 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.3602, allocations: 231.3 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.3602, allocations: 88.95 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.3603, allocations: 0 / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.3604, allocations: 11.98 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.3604, allocations: 11.92 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3605, allocations: 4 kB / 1.059 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.3605, allocations: 99.27 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3605, allocations: 0 / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003287/0.3609, allocations: 47.98 kB / 1.059 GB, free: 1.648 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.0003617/0.3612, allocations: 175.2 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3615, allocations: 88.02 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3615, allocations: 4.062 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3616, allocations: 47.92 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3619, allocations: 21.8 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.3624, allocations: 223.8 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.3627, allocations: 0.7 MB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.952e-05/0.3628, allocations: 8.422 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.3628, allocations: 19.44 kB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3628, allocations: 3.938 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of Templates: time 0.004754/0.3676, allocations: 1.713 MB / 1.062 GB, free: 14.62 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