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.001489/0.001489, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001777/0.001777, allocations: 187 kB / 17.34 MB, free: 5.719 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.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.249/2.249, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 63.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8976/0.899, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002624/0.9017, allocations: 1.519 MB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.9032, allocations: 0.7508 MB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.9033, allocations: 1.125 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.95e-05/0.9033, allocations: 9.109 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.9034, allocations: 16.28 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000571/0.904, allocations: 122.3 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.9041, allocations: 88.28 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.9042, allocations: 12.58 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.9044, allocations: 36.58 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.815e-05/0.9044, allocations: 45.55 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.9045, allocations: 7.219 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002202/0.9047, allocations: 97.8 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.9047, allocations: 20.27 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.9048, allocations: 33.91 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.9051, allocations: 149 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.9051, allocations: 5 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9051, allocations: 0 / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.9051, allocations: 0 / 1.091 GB, free: 3.664 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.0006977/0.9058, allocations: 463.4 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.9059, allocations: 9.781 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.9059, allocations: 9 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.906, allocations: 179.5 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.9061, allocations: 3.266 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.9061, allocations: 7.938 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/0.9063, allocations: 72.33 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9063, allocations: 0 / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.9063, allocations: 9.344 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.9063, allocations: 1.688 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.9065, allocations: 41.69 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.907, allocations: 319.2 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.9071, allocations: 58.73 kB / 1.093 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.9072, allocations: 41.45 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.9073, allocations: 5.672 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.9075, allocations: 100.3 kB / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.9075, allocations: 0 / 1.093 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004126/0.9079, allocations: 157.2 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.908, allocations: 58.23 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.9081, allocations: 133.3 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.9081, allocations: 27.75 kB / 1.093 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.9082, allocations: 96.78 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.9082, allocations: 20.66 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.9082, allocations: 35.42 kB / 1.093 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.9083, allocations: 324.4 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.122e-05/0.9084, allocations: 23.78 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.579e-05/0.9085, allocations: 73.09 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.9087, allocations: 103.7 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9087, allocations: 0 / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002508/0.9089, allocations: 130.2 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.909, allocations: 6.562 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.909, allocations: 1.781 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.909, allocations: 2.688 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.9091, allocations: 17.61 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.9091, allocations: 7.016 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.9092, allocations: 17.86 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.9093, allocations: 4.891 kB / 1.094 GB, free: 1.535 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 8.176e-05/0.9093, allocations: 125.5 kB / 1.094 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.9094, allocations: 8 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000332/0.9097, allocations: 153.2 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.9097, allocations: 2.453 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9097, allocations: 4.75 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9097, allocations: 0.7969 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.9103, allocations: 424.1 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.9103, allocations: 0 / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.583e-05/0.9104, allocations: 11.06 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.9104, allocations: 1.031 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.9104, allocations: 6.531 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9104, allocations: 1.516 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.9104, allocations: 11.88 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.9107, allocations: 218.9 kB / 1.095 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.9107, allocations: 84.53 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.9107, allocations: 6.109 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.9109, allocations: 7.531 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.9109, allocations: 17.42 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.9109, allocations: 8.75 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.175e-05/0.911, allocations: 98.95 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.911, allocations: 0.875 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003378/0.9114, allocations: 40.28 kB / 1.095 GB, free: 0.5977 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.0003422/0.9117, allocations: 173.4 kB / 1.095 GB, free: 488 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002686/0.912, allocations: 85.52 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.912, allocations: 0.75 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.9121, allocations: 50.03 kB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.9124, allocations: 18.06 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000495/0.9129, allocations: 224.6 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.9132, allocations: 0.6978 MB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.9133, allocations: 18.61 kB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.9133, allocations: 0 / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.004935/0.9182, allocations: 1.845 MB / 1.098 GB, free: 15.35 MB / 0.8731 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/jenkins1/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