Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008885/0.008886, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.9 MB / 0.6663 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003784, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7052/0.7056, allocations: 142.4 MB / 0.955 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001451/0.7071, allocations: 1.227 MB / 0.9562 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7082, allocations: 0.7471 MB / 0.957 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.7082, allocations: 3.938 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.7083, allocations: 1.219 kB / 0.957 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.584e-05/0.7084, allocations: 9.031 kB / 0.957 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.7088, allocations: 110.3 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.7089, allocations: 81.08 kB / 0.9572 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.709, allocations: 21.59 kB / 0.9572 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.7091, allocations: 31.52 kB / 0.9572 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.111e-05/0.7092, allocations: 38.27 kB / 0.9573 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.7092, allocations: 3.781 kB / 0.9573 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.7094, allocations: 89.41 kB / 0.9573 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.7094, allocations: 15.77 kB / 0.9574 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.7095, allocations: 59.47 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.7097, allocations: 140.6 kB / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.7097, allocations: 1.25 kB / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.123e-06/0.7097, allocations: 0 / 0.9575 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.7097, allocations: 0 / 0.9575 GB, free: 5.777 MB / 0.7169 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.0006685/0.7104, allocations: 457 kB / 0.958 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.7105, allocations: 9.344 kB / 0.958 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.7105, allocations: 17.58 kB / 0.958 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.7106, allocations: 176 kB / 0.9582 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.7107, allocations: 2.719 kB / 0.9582 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.7107, allocations: 9.062 kB / 0.9582 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.7109, allocations: 78.7 kB / 0.9583 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7109, allocations: 0 / 0.9583 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.7109, allocations: 5.688 kB / 0.9583 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.7109, allocations: 1.344 kB / 0.9583 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.7111, allocations: 45.53 kB / 0.9583 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.7116, allocations: 321 kB / 0.9586 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.7117, allocations: 69.58 kB / 0.9587 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.125e-05/0.7118, allocations: 37.66 kB / 0.9587 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.7118, allocations: 5.281 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.7121, allocations: 99.28 kB / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.7121, allocations: 0 / 0.9588 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004097/0.7125, allocations: 168.6 kB / 0.959 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.7126, allocations: 57.12 kB / 0.959 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.7127, allocations: 127.8 kB / 0.9592 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.7127, allocations: 27.52 kB / 0.9592 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.7127, allocations: 98.27 kB / 0.9593 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.7128, allocations: 23.34 kB / 0.9593 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.7128, allocations: 21.83 kB / 0.9593 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.7129, allocations: 325.5 kB / 0.9596 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.336e-05/0.7129, allocations: 24.48 kB / 0.9597 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.713, allocations: 71.12 kB / 0.9597 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.7132, allocations: 104.9 kB / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7132, allocations: 0 / 0.9598 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002413/0.7135, allocations: 131.3 kB / 0.9599 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.7135, allocations: 5.5 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7135, allocations: 9.344 kB / 0.96 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.7135, allocations: 2.75 kB / 0.96 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.7136, allocations: 22.92 kB / 0.96 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7137, allocations: 2.75 kB / 0.96 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.7138, allocations: 13.75 kB / 0.96 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.7138, allocations: 8.109 kB / 0.96 GB, free: 3.477 MB / 0.7169 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.69e-05/0.7139, allocations: 128.6 kB / 0.9601 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.7139, allocations: 6.656 kB / 0.9601 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003007/0.7142, allocations: 158.5 kB / 0.9603 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7142, allocations: 1.375 kB / 0.9603 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7142, allocations: 4 kB / 0.9603 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7142, allocations: 1.375 kB / 0.9603 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.7147, allocations: 434.4 kB / 0.9607 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.7147, allocations: 0 / 0.9607 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.481e-05/0.7148, allocations: 12.25 kB / 0.9607 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.7148, allocations: 5.312 kB / 0.9607 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.7148, allocations: 9.359 kB / 0.9607 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7148, allocations: 384 / 0.9607 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.7148, allocations: 9.25 kB / 0.9607 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.7151, allocations: 219.3 kB / 0.961 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.755e-05/0.7151, allocations: 91.75 kB / 0.961 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.7152, allocations: 10.09 kB / 0.9611 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.7153, allocations: 11.14 kB / 0.9611 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.7153, allocations: 13.48 kB / 0.9611 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.7154, allocations: 6.75 kB / 0.9611 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.7154, allocations: 96.33 kB / 0.9612 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7154, allocations: 1.312 kB / 0.9612 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003074/0.7157, allocations: 38.47 kB / 0.9612 GB, free: 2.441 MB / 0.7169 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.0003315/0.7161, allocations: 176.6 kB / 0.9614 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.7163, allocations: 85.02 kB / 0.9615 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7163, allocations: 5.156 kB / 0.9615 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.7164, allocations: 49.38 kB / 0.9615 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.7167, allocations: 16.67 kB / 0.9615 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.7172, allocations: 243.2 kB / 0.9618 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001674/0.7174, allocations: 0.6926 MB / 0.9624 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.7175, allocations: 6.875 kB / 0.9624 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.7175, allocations: 16.17 kB / 0.9625 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/0.7175, allocations: 1 kB / 0.9625 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.00505/0.7226, allocations: 1.665 MB / 0.9641 GB, free: 484 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches