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.008197/0.008197, allocations: 98.66 kB / 15.73 MB, free: 5.984 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.001625/0.001625, allocations: 196.1 kB / 16.68 MB, free: 5.918 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.339/2.339, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 62.78 kB / 0.9508 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3271, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002669/0.3298, allocations: 1.52 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3311, allocations: 0.757 MB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.3312, allocations: 3.938 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.3312, allocations: 7.922 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.3314, allocations: 15.81 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.3319, allocations: 127.6 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.3321, allocations: 111.6 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.578e-05/0.3322, allocations: 11.98 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.3323, allocations: 43.84 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.3323, allocations: 47.81 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3324, allocations: 8 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.3326, allocations: 99.84 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.3326, allocations: 19.92 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.604e-05/0.3327, allocations: 51.77 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.3329, allocations: 159.5 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3329, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3329, allocations: 0 / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.333, allocations: 0 / 1.091 GB, free: 14.52 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.0008863/0.3338, allocations: 496.2 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3339, allocations: 8.031 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.3339, allocations: 8.844 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3341, allocations: 188.2 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3341, allocations: 4.375 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3341, allocations: 4.375 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.3343, allocations: 85.95 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3343, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3344, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.3344, allocations: 4 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.3346, allocations: 55.89 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.3351, allocations: 336.7 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.3353, allocations: 78.67 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.375e-05/0.3354, allocations: 40.84 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3355, allocations: 4.031 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.3357, allocations: 107.3 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.3357, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004172/0.3361, allocations: 173.5 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.3362, allocations: 55.41 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3363, allocations: 130.1 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3363, allocations: 29.7 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.3364, allocations: 100.1 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.3364, allocations: 35.53 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.3365, allocations: 37.64 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.3367, allocations: 326.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.3368, allocations: 31.98 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3369, allocations: 71.66 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.3371, allocations: 109.1 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3371, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003754/0.3375, allocations: 137.5 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3375, allocations: 8 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3376, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3376, allocations: 4 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3377, allocations: 19.92 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3377, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.892e-05/0.3378, allocations: 15.92 kB / 1.093 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.3378, allocations: 8 kB / 1.093 GB, free: 11.59 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 9.459e-05/0.3379, allocations: 135.7 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.338, allocations: 7.906 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.3383, allocations: 158.2 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3383, allocations: 4 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3383, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3383, allocations: 0 / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005665/0.3389, allocations: 451.8 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3389, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.555e-05/0.339, allocations: 8 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.339, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.339, allocations: 7.984 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.339, allocations: 3.938 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.339, allocations: 0 / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.3394, allocations: 242 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.3394, allocations: 88.92 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3395, allocations: 11.94 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.3396, allocations: 11.98 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.3396, allocations: 11.98 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3397, allocations: 8 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001689/0.3398, allocations: 99.25 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3399, allocations: 3.938 kB / 1.095 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003096/0.3402, allocations: 44 kB / 1.095 GB, free: 10.21 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.0003132/0.3405, allocations: 163 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.3407, allocations: 99.83 kB / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3408, allocations: 0 / 1.095 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.3409, allocations: 55.97 kB / 1.095 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3412, allocations: 24.16 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.3418, allocations: 224 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.3421, allocations: 0.6963 MB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.866e-05/0.3421, allocations: 12.44 kB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.3422, allocations: 15.42 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3422, allocations: 0 / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of Templates: time 0.004985/0.3472, allocations: 2.002 MB / 1.098 GB, free: 6.891 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