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.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.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.001133/0.001133, allocations: 100.1 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.001362/0.001362, allocations: 177.3 kB / 15.95 MB, free: 216 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.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.612/2.612, allocations: 436.5 MB / 0.7104 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 12 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5964/0.5967, allocations: 153.7 MB / 1.021 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001496/0.5982, allocations: 1.2 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.5995, allocations: 0.6978 MB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.5995, allocations: 3.938 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.5996, allocations: 3.984 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.323e-05/0.5997, allocations: 19.91 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.6001, allocations: 91.77 kB / 1.023 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.6002, allocations: 51.86 kB / 1.023 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.6003, allocations: 15.98 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.6004, allocations: 27.91 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.6005, allocations: 35.84 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.6005, allocations: 8 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.6007, allocations: 71.86 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.6008, allocations: 15.92 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.6008, allocations: 37.64 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.601, allocations: 97.78 kB / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.601, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.363e-06/0.601, allocations: 0 / 1.023 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.601, allocations: 0 / 1.023 GB, free: 14.8 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.0007271/0.6018, allocations: 458.5 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6018, allocations: 11.98 kB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.363e-05/0.6019, allocations: 7.906 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.602, allocations: 174.9 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.6021, allocations: 8 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.6021, allocations: 4 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.6023, allocations: 89.41 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.6023, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.6023, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.6023, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.6025, allocations: 43.97 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.603, allocations: 320.8 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.6032, allocations: 66.58 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.6032, allocations: 4 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.6034, allocations: 99.27 kB / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.6034, allocations: 0 / 1.024 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003785/0.6038, allocations: 161.5 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.6038, allocations: 55.41 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.082e-05/0.6039, allocations: 124.7 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.604, allocations: 33.7 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.604, allocations: 96.31 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.6041, allocations: 27.8 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.6041, allocations: 0 / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6042, allocations: 326.8 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.21e-05/0.6043, allocations: 27.98 kB / 1.025 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.6044, allocations: 65.14 kB / 1.025 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.165e-05/0.6045, allocations: 35.98 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6045, allocations: 3.953 kB / 1.025 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002367/0.6047, allocations: 137.5 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.6047, allocations: 8 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6047, allocations: 0 / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6048, allocations: 4 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.6049, allocations: 19.92 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.6049, allocations: 384 / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.605, allocations: 23.89 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.605, allocations: 4 kB / 1.025 GB, free: 12.15 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 9.036e-05/0.6051, allocations: 121.8 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.6051, allocations: 15.8 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.6054, allocations: 153.9 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.6055, allocations: 0 / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6055, allocations: 4 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.6055, allocations: 3.984 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005257/0.606, allocations: 434.3 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.606, allocations: 4 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/0.6061, allocations: 11.98 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.6061, allocations: 0 / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.6061, allocations: 4 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6061, allocations: 0 / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6061, allocations: 4 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.6064, allocations: 243.2 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.6065, allocations: 81.02 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.6065, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6066, allocations: 19.98 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.6067, allocations: 11.92 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.6067, allocations: 4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.137e-05/0.6068, allocations: 95.27 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6068, allocations: 4 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002991/0.6071, allocations: 39.98 kB / 1.027 GB, free: 10.81 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.0003166/0.6074, allocations: 171.1 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.6076, allocations: 91.77 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6076, allocations: 0 / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.6078, allocations: 48.23 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.608, allocations: 18 kB / 1.027 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004375/0.6084, allocations: 235 kB / 1.027 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.6087, allocations: 0.6965 MB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.6087, allocations: 8.438 kB / 1.028 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.6088, allocations: 15.42 kB / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6088, allocations: 0 / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.00394/0.6127, allocations: 1.627 MB / 1.03 GB, free: 7.879 MB / 0.7794 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","../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches