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.001063/0.001064, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001364/0.001364, allocations: 168.7 kB / 15.95 MB, free: 200 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.548/1.548, allocations: 223.2 MB / 240 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.831/2.831, allocations: 462.6 MB / 0.736 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003826, allocations: 12.59 kB / 0.9021 GB, free: 36.74 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4133, allocations: 159.6 MB / 1.058 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001955/0.4153, allocations: 1.229 MB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.4166, allocations: 0.7054 MB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.162e-05/0.4166, allocations: 0 / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.4167, allocations: 3.984 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.4168, allocations: 11.86 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.4172, allocations: 107.8 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.4174, allocations: 83.7 kB / 1.06 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.4175, allocations: 12 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.4176, allocations: 39.83 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.025e-05/0.4176, allocations: 43.83 kB / 1.06 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.4177, allocations: 7.984 kB / 1.06 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.4179, allocations: 79.88 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.4179, allocations: 23.95 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.418, allocations: 45.58 kB / 1.06 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.4181, allocations: 104 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4182, allocations: 0 / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4182, allocations: 0 / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.4182, allocations: 0 / 1.06 GB, free: 2.762 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.0008322/0.419, allocations: 488.2 kB / 1.061 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4191, allocations: 8.031 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.4191, allocations: 7.906 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.4193, allocations: 189.4 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.4193, allocations: 0 / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.4193, allocations: 7.953 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.4196, allocations: 85.58 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4196, allocations: 0 / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.4196, allocations: 4 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4196, allocations: 4 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.4198, allocations: 51.95 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005509/0.4203, allocations: 332.7 kB / 1.062 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.4206, allocations: 86.67 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.195e-05/0.4207, allocations: 40.84 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.4207, allocations: 7.984 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.421, allocations: 107.3 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.421, allocations: 0 / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004901/0.4215, allocations: 181.4 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.4215, allocations: 51.41 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.4217, allocations: 130.1 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.4217, allocations: 33.7 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.4218, allocations: 100.1 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.4218, allocations: 27.59 kB / 1.062 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.4218, allocations: 3.938 kB / 1.062 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.422, allocations: 322.8 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.4221, allocations: 31.98 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.4222, allocations: 73.12 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.559e-05/0.4223, allocations: 43.97 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4223, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002761/0.4226, allocations: 141.5 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4226, allocations: 8 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4227, allocations: 0 / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4227, allocations: 7.938 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.4228, allocations: 19.92 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4228, allocations: 0 / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.905e-05/0.4229, allocations: 19.94 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.4229, allocations: 7.984 kB / 1.063 GB, free: 15.93 MB / 0.8262 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.4231, allocations: 129.8 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.4231, allocations: 7.906 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/0.4234, allocations: 162.3 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4235, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4235, allocations: 0 / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4235, allocations: 3.938 kB / 1.063 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.4241, allocations: 466.3 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4241, allocations: 0 / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.4242, allocations: 15.98 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4242, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4242, allocations: 4 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4242, allocations: 4 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4242, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.4246, allocations: 249.7 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.4247, allocations: 88.95 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.4247, allocations: 4 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4248, allocations: 15.98 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.4249, allocations: 15.98 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4249, allocations: 11.92 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.847e-05/0.425, allocations: 102.6 kB / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.425, allocations: 0 / 1.064 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003241/0.4253, allocations: 40 kB / 1.064 GB, free: 14.54 MB / 0.8262 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 (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.0003612/0.4257, allocations: 155.5 kB / 1.064 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.4259, allocations: 102.3 kB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.426, allocations: 0 / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.4261, allocations: 60.17 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4264, allocations: 27.78 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.4269, allocations: 249.1 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.4272, allocations: 0.7004 MB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.274e-05/0.4272, allocations: 12.42 kB / 1.065 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.4273, allocations: 11.44 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.4273, allocations: 0 / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.004767/0.4321, allocations: 1.767 MB / 1.067 GB, free: 11.42 MB / 0.8262 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 -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/jenkins/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