Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Hunt1979Light,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.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_latest_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.001735/0.001735, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 193 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 472.7 MB / 0.7451 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 69.98 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2976, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002517/0.3001, allocations: 1.514 MB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3014, allocations: 0.7673 MB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.3014, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.3015, allocations: 7.938 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.274e-05/0.3015, allocations: 19.84 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004845/0.302, allocations: 127.5 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3022, allocations: 83.72 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.3023, allocations: 19.97 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.3024, allocations: 43.84 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.3025, allocations: 35.83 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.3025, allocations: 12 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.3027, allocations: 95.91 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.3027, allocations: 19.92 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.3028, allocations: 39.78 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3031, allocations: 151.8 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3031, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3031, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3031, allocations: 0 / 1.071 GB, free: 7.469 MB / 0.8262 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.0007769/0.3039, allocations: 474.5 kB / 1.072 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.3039, allocations: 16.02 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.304, allocations: 8.844 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.3041, allocations: 178.2 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.3042, allocations: 42.19 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.3042, allocations: 4.375 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3044, allocations: 85.64 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3045, allocations: 4 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3045, allocations: 0 / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3045, allocations: 4 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.3047, allocations: 51.94 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.3052, allocations: 320.6 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.3054, allocations: 74.53 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3056, allocations: 40.83 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3056, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.3059, allocations: 103.4 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3059, allocations: 0 / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004824/0.3064, allocations: 165.5 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.3064, allocations: 51.41 kB / 1.073 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.3065, allocations: 130.1 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3066, allocations: 33.7 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.3066, allocations: 96.36 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.3067, allocations: 27.66 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.3067, allocations: 29.7 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3068, allocations: 326.8 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.307, allocations: 27.97 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.3071, allocations: 77.12 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.3073, allocations: 101.1 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3073, allocations: 0 / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002906/0.3076, allocations: 133.4 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3077, allocations: 8.375 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3077, allocations: 7.922 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3077, allocations: 4 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3078, allocations: 15.98 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3078, allocations: 3.938 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.3079, allocations: 24.02 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.308, allocations: 4 kB / 1.074 GB, free: 4.566 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 (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.000111/0.3081, allocations: 133 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.3081, allocations: 11.91 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.3081, allocations: 12.7 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3082, allocations: 3.938 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3082, allocations: 4 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3082, allocations: 0 / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.3088, allocations: 430.4 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3088, allocations: 0 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.3089, allocations: 11.98 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3089, allocations: 0 / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.3089, allocations: 3.984 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3089, allocations: 7.938 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3089, allocations: 7.938 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.3093, allocations: 219.5 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.102e-05/0.3093, allocations: 88.98 kB / 1.075 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.3093, allocations: 8 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.3095, allocations: 15.86 kB / 1.075 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.3095, allocations: 11.98 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3096, allocations: 8 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.3096, allocations: 96.53 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3096, allocations: 4 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003181/0.31, allocations: 43.98 kB / 1.075 GB, free: 3.367 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 (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.000355/0.3103, allocations: 165.4 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003123/0.3106, allocations: 99.81 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3107, allocations: 0 / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3108, allocations: 43.97 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3111, allocations: 12.78 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.3116, allocations: 207.8 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3118, allocations: 0.6963 MB / 1.076 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.727e-05/0.3119, allocations: 12.66 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.3119, allocations: 11.44 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.312, allocations: 3.938 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of Templates: time 0.004519/0.3165, allocations: 1.816 MB / 1.078 GB, free: 280 kB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches