Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 109.2 kB / 15.99 MB, free: 5.891 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.001855/0.001855, allocations: 189.1 kB / 16.91 MB, free: 5.746 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.418/1.418, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.793/2.793, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 65.66 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3308, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002865/0.3337, allocations: 1.583 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00132/0.3351, allocations: 0.7596 MB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.3351, allocations: 0 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.3352, allocations: 7.922 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.471e-05/0.3353, allocations: 11.86 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.3358, allocations: 107.8 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.3359, allocations: 91.7 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.815e-05/0.336, allocations: 12 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3361, allocations: 39.91 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.3362, allocations: 43.81 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3362, allocations: 8 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.3364, allocations: 95.84 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.958e-05/0.3364, allocations: 19.92 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.408e-05/0.3365, allocations: 39.8 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.3367, allocations: 108 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3367, allocations: 12 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3367, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3367, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008271/0.3376, allocations: 466.5 kB / 1.067 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3376, allocations: 8.625 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.3377, allocations: 12.84 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.3378, allocations: 180.2 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.249e-05/0.3379, allocations: 38.2 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.338, allocations: 12.36 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3382, allocations: 77.78 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3382, allocations: 0 / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.3382, allocations: 7.969 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3382, allocations: 0 / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.3384, allocations: 51.91 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.339, allocations: 320.8 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.3392, allocations: 66.55 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.3394, allocations: 44.86 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3394, allocations: 4 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002726/0.3397, allocations: 103.2 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3397, allocations: 0 / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0005264/0.3402, allocations: 165.5 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3403, allocations: 59.41 kB / 1.069 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.3404, allocations: 131.4 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3405, allocations: 25.7 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.3405, allocations: 96.36 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.3406, allocations: 27.8 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.3406, allocations: 33.7 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3408, allocations: 322.8 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3409, allocations: 39.97 kB / 1.069 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3411, allocations: 69.08 kB / 1.069 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.3413, allocations: 105 kB / 1.069 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3413, allocations: 4 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003061/0.3416, allocations: 133.4 kB / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3417, allocations: 4 kB / 1.069 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3417, allocations: 8.125 kB / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3417, allocations: 0 / 1.069 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3418, allocations: 23.91 kB / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3418, allocations: 4 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.342, allocations: 19.89 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.342, allocations: 8 kB / 1.07 GB, free: 9.246 MB / 0.8419 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001053/0.3421, allocations: 117.8 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.3421, allocations: 11.91 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3422, allocations: 12.72 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3422, allocations: 3.938 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.3422, allocations: 0 / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.3422, allocations: 3.984 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.3429, allocations: 434.6 kB / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3429, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.343, allocations: 16.08 kB / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.343, allocations: 3.984 kB / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.343, allocations: 3.984 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.343, allocations: 3.938 kB / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.343, allocations: 0 / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.3434, allocations: 223.3 kB / 1.07 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.3435, allocations: 89.02 kB / 1.07 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3435, allocations: 3.984 kB / 1.07 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.3436, allocations: 15.94 kB / 1.07 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.3437, allocations: 11.97 kB / 1.07 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3437, allocations: 4 kB / 1.07 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.569e-05/0.3438, allocations: 102.4 kB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3438, allocations: 0 / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003259/0.3442, allocations: 47.89 kB / 1.071 GB, free: 8.062 MB / 0.8419 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0003665/0.3445, allocations: 169.5 kB / 1.071 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.3449, allocations: 83.89 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3449, allocations: 256 / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.345, allocations: 55.91 kB / 1.071 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.3453, allocations: 17.7 kB / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.3459, allocations: 253.4 kB / 1.071 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3462, allocations: 0.7 MB / 1.072 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.3463, allocations: 19.44 kB / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of SimCode: time 2.294e-06/0.3463, allocations: 0 / 1.072 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of Templates: time 0.00408/0.3504, allocations: 1.871 MB / 1.074 GB, free: 4.852 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches