Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 114.8 kB / 16.42 MB, free: 6.445 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.001205/0.001205, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.3/1.3, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.14/2.14, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.89 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6882, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002443/0.6907, allocations: 1.537 MB / 1.09 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.6919, allocations: 0.7645 MB / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.692, allocations: 0 / 1.091 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.692, allocations: 9.047 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.6922, allocations: 24.62 kB / 1.091 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005432/0.6927, allocations: 129.6 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.6929, allocations: 100.6 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.6929, allocations: 16.44 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.849e-05/0.693, allocations: 40.78 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.341e-05/0.6931, allocations: 52.56 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.6932, allocations: 8.625 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.6934, allocations: 103 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.303e-05/0.6934, allocations: 21.81 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.328e-05/0.6935, allocations: 43.45 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.6937, allocations: 169 kB / 1.092 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6937, allocations: 0.6094 kB / 1.092 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6937, allocations: 0.8125 kB / 1.092 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.6938, allocations: 0 / 1.092 GB, free: 3.867 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006624/0.6944, allocations: 0.491 MB / 1.092 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.6945, allocations: 13.14 kB / 1.092 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.6945, allocations: 14.16 kB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.71e-05/0.6946, allocations: 184.5 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.6946, allocations: 3.938 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.6947, allocations: 4.406 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.6948, allocations: 92.61 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.6949, allocations: 0 / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6949, allocations: 1.203 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6949, allocations: 1.656 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.695, allocations: 51.39 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004797/0.6955, allocations: 337.1 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.6957, allocations: 82.62 kB / 1.093 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.6958, allocations: 42.94 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.6959, allocations: 1.5 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.6961, allocations: 100.8 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.462e-06/0.6961, allocations: 0 / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004181/0.6965, allocations: 176.6 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.6965, allocations: 53.22 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.865e-05/0.6967, allocations: 147.5 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.6967, allocations: 30.7 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.6967, allocations: 94.48 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.6967, allocations: 29.48 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.6968, allocations: 36.5 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.6968, allocations: 325.5 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.6969, allocations: 29.45 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.054e-05/0.697, allocations: 77.58 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.6972, allocations: 107.5 kB / 1.094 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6972, allocations: 4.969 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000243/0.6975, allocations: 134.3 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.6975, allocations: 6.359 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6975, allocations: 5.266 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6975, allocations: 2.219 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.6976, allocations: 16.97 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.6976, allocations: 6.125 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.6977, allocations: 13.88 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.6978, allocations: 14.02 kB / 1.094 GB, free: 1.645 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.895e-05/0.6978, allocations: 129.4 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.6979, allocations: 8.984 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.6982, allocations: 172.1 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6982, allocations: 0.7969 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6982, allocations: 1.609 kB / 1.094 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.6983, allocations: 89.06 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.6983, allocations: 10.48 kB / 1.095 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.6984, allocations: 11.58 kB / 1.095 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.6984, allocations: 13.66 kB / 1.095 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000335/0.6988, allocations: 225.9 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000302/0.6991, allocations: 323 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001107/0.6992, allocations: 58.77 kB / 1.095 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.6993, allocations: 107.1 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of Backend: time 2.11e-07/0.6993, allocations: 1.094 kB / 1.095 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006397/0.6999, allocations: 194.4 kB / 1.095 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004169/0.7004, allocations: 0.6569 MB / 1.096 GB, free: 88 kB / 0.8575 GB Notification: Performance of Templates: time 0.00512/0.7055, allocations: 1.963 MB / 1.098 GB, free: 15.9 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches