Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Love1998Light1,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.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_latest_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.001179/0.001179, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00125/0.00125, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 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: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.000387, allocations: 11.98 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6021, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.001668/0.6038, allocations: 1.2 MB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001143/0.605, allocations: 0.7017 MB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.896e-05/0.605, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.605, allocations: 3.938 kB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.6051, allocations: 19.97 kB / 1.023 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.6056, allocations: 95.69 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.6057, allocations: 47.94 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.767e-05/0.6058, allocations: 11.98 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.6059, allocations: 35.84 kB / 1.023 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.606, allocations: 31.89 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.606, allocations: 8 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.6061, allocations: 75.8 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.6062, allocations: 15.98 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.6062, allocations: 33.64 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.6064, allocations: 101.8 kB / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.6064, allocations: 0 / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6064, allocations: 0 / 1.023 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.6064, allocations: 0 / 1.023 GB, free: 14.72 MB / 0.7794 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.0006533/0.6071, allocations: 454.5 kB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.6071, allocations: 11.98 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.6071, allocations: 7.906 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.6073, allocations: 182.8 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.6073, allocations: 7.938 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.6073, allocations: 7.984 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.6075, allocations: 73.61 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.6075, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.6075, allocations: 3.984 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6076, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.6077, allocations: 47.91 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005151/0.6082, allocations: 320.7 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.6084, allocations: 66.55 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.6084, allocations: 0 / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.6087, allocations: 107.4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.6087, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004315/0.6091, allocations: 161.5 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.6092, allocations: 55.41 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.6093, allocations: 128.7 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.6094, allocations: 29.7 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.6094, allocations: 92.38 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.6095, allocations: 27.64 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.6095, allocations: 0 / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6096, allocations: 322.8 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.6097, allocations: 27.98 kB / 1.025 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.6099, allocations: 73.12 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.352e-05/0.61, allocations: 35.92 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.61, allocations: 3.953 kB / 1.025 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002582/0.6102, allocations: 129.5 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.6103, allocations: 11.98 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6103, allocations: 0 / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6103, allocations: 4 kB / 1.025 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.6104, allocations: 19.98 kB / 1.025 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6105, allocations: 0 / 1.025 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.6106, allocations: 15.91 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.6106, allocations: 11.98 kB / 1.025 GB, free: 12.07 MB / 0.7794 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.6107, allocations: 127.6 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.6108, allocations: 12.23 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.6111, allocations: 153.9 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.6111, allocations: 3.938 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.6111, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.6111, allocations: 7.938 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.6118, allocations: 426.4 kB / 1.026 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6118, allocations: 4 kB / 1.026 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.6119, allocations: 15.94 kB / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.6119, allocations: 96 / 1.026 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.6119, allocations: 11.97 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6119, allocations: 7.984 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6119, allocations: 0 / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.6122, allocations: 227.3 kB / 1.026 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.6123, allocations: 85 kB / 1.026 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.6123, allocations: 11.94 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.6125, allocations: 15.98 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.6125, allocations: 7.984 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.6126, allocations: 8 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.092e-05/0.6126, allocations: 91.27 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6126, allocations: 4 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003601/0.613, allocations: 39.98 kB / 1.027 GB, free: 10.73 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003534/0.6134, allocations: 168.4 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.6136, allocations: 79.91 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6136, allocations: 0 / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.6137, allocations: 60.16 kB / 1.027 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.614, allocations: 19.88 kB / 1.027 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.6144, allocations: 235.2 kB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.6147, allocations: 0.6965 MB / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.6147, allocations: 8.438 kB / 1.028 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.6148, allocations: 15.42 kB / 1.028 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.6148, allocations: 0 / 1.028 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of Templates: time 0.004578/0.6194, allocations: 1.623 MB / 1.029 GB, free: 7.801 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches