Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006908/0.006908, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001596/0.001596, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7105 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 1.018 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.928, allocations: 151.6 MB / 1.167 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002407/0.9305, allocations: 1.529 MB / 1.168 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.9319, allocations: 0.7518 MB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.9319, allocations: 0 / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.932, allocations: 7.922 kB / 1.169 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.9321, allocations: 19.81 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.9328, allocations: 127.6 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.933, allocations: 103.7 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.9331, allocations: 8 kB / 1.169 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001459/0.9333, allocations: 47.78 kB / 1.169 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.9334, allocations: 51.81 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.9335, allocations: 8 kB / 1.169 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.9338, allocations: 99.84 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.9338, allocations: 23.92 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.283e-05/0.9339, allocations: 35.8 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.9343, allocations: 164.5 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9343, allocations: 0 / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9343, allocations: 0 / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9343, allocations: 4 kB / 1.169 GB, free: 1.047 MB / 0.8887 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.0009334/0.9352, allocations: 0.4921 MB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9353, allocations: 16.03 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.9354, allocations: 8.891 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.9356, allocations: 180.2 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.9356, allocations: 8.375 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.9357, allocations: 4.375 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.936, allocations: 81.89 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.936, allocations: 0 / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.936, allocations: 8 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.936, allocations: 0 / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.9363, allocations: 51.91 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008373/0.9371, allocations: 340.7 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.9375, allocations: 82.7 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.9376, allocations: 36.84 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.9376, allocations: 4 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.9381, allocations: 99.34 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=11): time 1.873e-06/0.9381, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11): time 0.0006411/0.9387, allocations: 181.5 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.9388, allocations: 51.41 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.939, allocations: 140.8 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.939, allocations: 25.7 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.9391, allocations: 96.09 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/0.9392, allocations: 27.78 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/0.9392, allocations: 33.7 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.9394, allocations: 326.8 kB / 1.172 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.9395, allocations: 27.98 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.9397, allocations: 69.12 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/0.94, allocations: 105.1 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.94, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004044/0.9404, allocations: 145.4 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.9405, allocations: 7.938 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.9405, allocations: 4 kB / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.9405, allocations: 0 / 1.172 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.9407, allocations: 19.98 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.9407, allocations: 4 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.9409, allocations: 11.92 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.9409, allocations: 8.094 kB / 1.172 GB, free: 14.11 MB / 0.9044 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.0001772/0.9411, allocations: 129.7 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.9411, allocations: 11.94 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005123/0.9417, allocations: 158.3 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9417, allocations: 3.938 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9417, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9417, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008826/0.9426, allocations: 459.4 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.9426, allocations: 4 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.9427, allocations: 8 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.9427, allocations: 0 / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.9428, allocations: 19.86 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.9428, allocations: 7.938 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9428, allocations: 0 / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.9433, allocations: 244.9 kB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.9434, allocations: 81.06 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.9434, allocations: 7.938 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.9436, allocations: 11.98 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.9437, allocations: 7.984 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.9437, allocations: 4 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001213/0.9439, allocations: 101.5 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9439, allocations: 0 / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006424/0.9445, allocations: 51.92 kB / 1.173 GB, free: 12.73 MB / 0.9044 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.0005073/0.9451, allocations: 174.2 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.9455, allocations: 97.64 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9455, allocations: 192 / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002524/0.9457, allocations: 55.91 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.9463, allocations: 22.73 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.947, allocations: 223.8 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.9474, allocations: 0.704 MB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.844e-05/0.9474, allocations: 8.438 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.117e-05/0.9475, allocations: 11.44 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of SimCode: time 3.7e-07/0.9475, allocations: 4 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of Templates: time 0.00749/0.955, allocations: 1.952 MB / 1.176 GB, free: 9.445 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches