Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Love1998Light2,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.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_9_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.005617/0.005617, allocations: 102.1 kB / 15.73 MB, free: 6.055 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.001289/0.001289, allocations: 198.4 kB / 16.68 MB, free: 5.984 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.512/2.512, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 66.33 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.335, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002905/0.338, allocations: 1.516 MB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.3396, allocations: 0.757 MB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.831e-05/0.3397, allocations: 8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.957e-05/0.3398, allocations: 7.875 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.3399, allocations: 15.84 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.3405, allocations: 123.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.3407, allocations: 83.77 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3408, allocations: 19.91 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.3409, allocations: 43.84 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.357e-05/0.341, allocations: 39.83 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.341, allocations: 8 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.3412, allocations: 95.84 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.3413, allocations: 23.91 kB / 1.091 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.3413, allocations: 27.86 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.3416, allocations: 151.6 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.3417, allocations: 3.938 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3417, allocations: 3.938 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3417, allocations: 0 / 1.091 GB, free: 14.62 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.0007777/0.3425, allocations: 462.6 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.3425, allocations: 11.97 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.3426, allocations: 8.844 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3427, allocations: 172.3 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3428, allocations: 4.375 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3428, allocations: 8.375 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.343, allocations: 73.97 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.343, allocations: 3.984 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.343, allocations: 4 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.343, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.3432, allocations: 43.91 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.3438, allocations: 320.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3439, allocations: 74.58 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.382e-05/0.344, allocations: 28.84 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.344, allocations: 7.984 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.3443, allocations: 91.36 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/0.3443, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004164/0.3447, allocations: 161.5 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3448, allocations: 55.41 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3449, allocations: 124.1 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3449, allocations: 33.7 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.345, allocations: 92.28 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.345, allocations: 19.94 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.3451, allocations: 41.64 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3452, allocations: 322.8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.3453, allocations: 35.92 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3454, allocations: 65.14 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.3456, allocations: 105 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3456, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002461/0.3458, allocations: 133.3 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3459, allocations: 5.25 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3459, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3459, allocations: 4 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.346, allocations: 24.05 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.346, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3462, allocations: 19.92 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.3462, allocations: 8 kB / 1.093 GB, free: 11.83 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.0001098/0.3463, allocations: 123.8 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.3463, allocations: 7.906 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.3467, allocations: 149.9 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3467, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.3467, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3467, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.3473, allocations: 426.2 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3473, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.3474, allocations: 8 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.3474, allocations: 3.984 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.3474, allocations: 8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3474, allocations: 4 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.3474, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.3477, allocations: 227.3 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3478, allocations: 88.95 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3478, allocations: 0 / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.3479, allocations: 15.98 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.348, allocations: 15.92 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.348, allocations: 4.094 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.716e-05/0.3481, allocations: 101.5 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3481, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003408/0.3485, allocations: 39.98 kB / 1.094 GB, free: 10.52 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.0003626/0.3488, allocations: 168.9 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.3491, allocations: 83.83 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3491, allocations: 0 / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3492, allocations: 47.92 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.3495, allocations: 18.48 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.35, allocations: 211.8 kB / 1.095 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3503, allocations: 0.6929 MB / 1.096 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.582e-05/0.3504, allocations: 12.42 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.3504, allocations: 11.44 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.3504, allocations: 0 / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of Templates: time 0.00514/0.3556, allocations: 1.807 MB / 1.097 GB, free: 7.441 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches