Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_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_latest_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.001794/0.001794, allocations: 105 kB / 16.35 MB, free: 5.824 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.002052/0.002052, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.626/2.626, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 68.86 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3101, allocations: 153 MB / 1.027 GB, free: 2.117 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002833/0.313, allocations: 1.536 MB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3143, allocations: 0.7594 MB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.3144, allocations: 0 / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.698e-05/0.3144, allocations: 11.86 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.938e-05/0.3145, allocations: 15.86 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.315, allocations: 131.6 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3152, allocations: 103.6 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.3153, allocations: 11.98 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.3154, allocations: 39.91 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.3154, allocations: 43.81 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.3155, allocations: 8 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.3157, allocations: 99.84 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.3157, allocations: 19.92 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.619e-05/0.3158, allocations: 51.78 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.316, allocations: 167.5 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3161, allocations: 0 / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3161, allocations: 0 / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.3161, allocations: 0 / 1.03 GB, free: 15.12 MB / 0.8106 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.0008811/0.317, allocations: 496.2 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.317, allocations: 8.031 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.654e-05/0.3171, allocations: 8.844 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3172, allocations: 184.2 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3172, allocations: 8.312 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.3173, allocations: 8.375 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.3175, allocations: 85.89 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3175, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3175, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.3175, allocations: 4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.3177, allocations: 51.95 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.3182, allocations: 328.8 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.3185, allocations: 86.61 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/0.3186, allocations: 40.84 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3187, allocations: 3.984 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.3189, allocations: 107.3 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.3189, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004311/0.3193, allocations: 177.4 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.3194, allocations: 55.41 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.3195, allocations: 132.8 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3195, allocations: 29.7 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.963e-05/0.3196, allocations: 96.14 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.3196, allocations: 31.55 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-05/0.3197, allocations: 29.7 kB / 1.032 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3198, allocations: 330.7 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.3199, allocations: 31.98 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.32, allocations: 73.12 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.3202, allocations: 109 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3202, allocations: 0 / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003635/0.3206, allocations: 141.5 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3206, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3206, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3207, allocations: 4 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3208, allocations: 15.98 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3208, allocations: 7.938 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3209, allocations: 15.92 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.3209, allocations: 4 kB / 1.032 GB, free: 12.18 MB / 0.8106 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.0001558/0.3211, allocations: 139.2 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.3211, allocations: 7.906 kB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.3215, allocations: 161.1 kB / 1.033 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3215, allocations: 7.938 kB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3215, allocations: 0 / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3215, allocations: 0 / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.3221, allocations: 446.4 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3221, allocations: 7.938 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.37e-05/0.3222, allocations: 12 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3222, allocations: 0 / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.3222, allocations: 7.984 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.3223, allocations: 3.938 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3223, allocations: 4 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.3226, allocations: 231.4 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.3226, allocations: 100.9 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3227, allocations: 3.938 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3228, allocations: 11.98 kB / 1.033 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.3229, allocations: 15.92 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3229, allocations: 4 kB / 1.033 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.246e-05/0.323, allocations: 103.2 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.523e-06/0.323, allocations: 0 / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00032/0.3233, allocations: 47.94 kB / 1.033 GB, free: 10.79 MB / 0.8106 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.0003522/0.3236, allocations: 165.8 kB / 1.034 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.3239, allocations: 91.89 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3239, allocations: 0 / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.324, allocations: 59.84 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3244, allocations: 22.95 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.3248, allocations: 212.1 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.3251, allocations: 0.6963 MB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.222e-05/0.3252, allocations: 12.44 kB / 1.035 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.3252, allocations: 19.42 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.3252, allocations: 4 kB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of Templates: time 0.005038/0.3303, allocations: 1.944 MB / 1.037 GB, free: 7.539 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches