Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,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.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,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.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0073/0.0073, allocations: 100.8 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.001702/0.001702, allocations: 196.6 kB / 16.68 MB, free: 5.969 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.417/2.417, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 66.55 kB / 0.9508 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3032, allocations: 140.4 MB / 1.088 GB, free: 1.648 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003266/0.3066, allocations: 1.521 MB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3082, allocations: 0.757 MB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.469e-05/0.3083, allocations: 0 / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.066e-05/0.3084, allocations: 7.938 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.3086, allocations: 23.8 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006966/0.3093, allocations: 127.6 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.3095, allocations: 99.69 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3096, allocations: 15.97 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3097, allocations: 43.84 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.884e-05/0.3098, allocations: 47.83 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.3099, allocations: 8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.3101, allocations: 99.83 kB / 1.091 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.3102, allocations: 23.92 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.343e-05/0.3102, allocations: 43.78 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.3105, allocations: 163.5 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3106, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3106, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.3106, allocations: 0 / 1.091 GB, free: 14.66 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.0008733/0.3115, allocations: 496.2 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3115, allocations: 8.031 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.3116, allocations: 8.844 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3117, allocations: 180.2 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3118, allocations: 8.359 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.3118, allocations: 4.375 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.312, allocations: 81.95 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.312, allocations: 3.938 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3121, allocations: 8 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3121, allocations: 4 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.3122, allocations: 47.91 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.3128, allocations: 336.6 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.3131, allocations: 86.7 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.3132, allocations: 40.84 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3132, allocations: 0 / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.3135, allocations: 99.3 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.3135, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000437/0.3139, allocations: 177.5 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.314, allocations: 59.39 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3141, allocations: 131.9 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.3141, allocations: 29.7 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.3142, allocations: 88.14 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.3142, allocations: 35.53 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.3143, allocations: 37.7 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3144, allocations: 326.7 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.374e-05/0.3145, allocations: 35.97 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3146, allocations: 64.38 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.3148, allocations: 113 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3148, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002772/0.3151, allocations: 137.4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3151, allocations: 4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.3152, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3152, allocations: 7.938 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3153, allocations: 19.98 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3153, allocations: 0 / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.3154, allocations: 20.02 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3155, allocations: 4 kB / 1.093 GB, free: 11.73 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 0.0001122/0.3156, allocations: 131.1 kB / 1.094 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.3156, allocations: 7.906 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.3159, allocations: 166.2 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.316, allocations: 4 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.316, allocations: 4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.316, allocations: 4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006192/0.3166, allocations: 442.3 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3166, allocations: 0 / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.3167, allocations: 11.98 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.3167, allocations: 4 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.3167, allocations: 4 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3167, allocations: 11.81 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.3168, allocations: 3.984 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.3171, allocations: 240.9 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.3171, allocations: 89.06 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.3172, allocations: 3.938 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.3173, allocations: 19.97 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.3174, allocations: 7.984 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.3174, allocations: 4 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.635e-05/0.3175, allocations: 103.3 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.763e-06/0.3175, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003352/0.3178, allocations: 47.92 kB / 1.095 GB, free: 10.35 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0003645/0.3182, allocations: 163.4 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002673/0.3185, allocations: 99.89 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3185, allocations: 0 / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.3186, allocations: 51.92 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.3189, allocations: 19.92 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.3194, allocations: 228.1 kB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3197, allocations: 0.6965 MB / 1.096 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.602e-05/0.3198, allocations: 12.42 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/0.3198, allocations: 11.44 kB / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.3198, allocations: 0 / 1.096 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of Templates: time 0.005031/0.3249, allocations: 1.958 MB / 1.098 GB, free: 7.078 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches