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.004788/0.004788, allocations: 98.58 kB / 15.73 MB, free: 5.527 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.001082/0.001082, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.86 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3361, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003176/0.3392, allocations: 1.518 MB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3411, allocations: 0.7672 MB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.3412, allocations: 4 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.14e-05/0.3413, allocations: 7.922 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3414, allocations: 11.86 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.3423, allocations: 123.6 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.3425, allocations: 91.75 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.3427, allocations: 7.984 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3428, allocations: 43.8 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.3429, allocations: 43.81 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.343, allocations: 12 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.3432, allocations: 95.91 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.3433, allocations: 19.92 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.244e-05/0.3433, allocations: 35.8 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.3437, allocations: 151.5 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3437, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3437, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.3437, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 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.001037/0.3447, allocations: 486.2 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3448, allocations: 12.03 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.528e-05/0.3449, allocations: 12.88 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.3451, allocations: 176.3 kB / 1.224 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.3452, allocations: 42.19 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.3452, allocations: 12.31 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.3454, allocations: 73.77 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3454, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3454, allocations: 8 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3454, allocations: 0 / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.3456, allocations: 43.97 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.3463, allocations: 328.6 kB / 1.225 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.3465, allocations: 66.55 kB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.3466, allocations: 36.83 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.3466, allocations: 0 / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.3469, allocations: 107.5 kB / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.3469, allocations: 0 / 1.225 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005062/0.3474, allocations: 169.5 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.3475, allocations: 59.41 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.3476, allocations: 132.4 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.3476, allocations: 29.7 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.3477, allocations: 96.31 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.3477, allocations: 23.8 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.3478, allocations: 37.7 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3479, allocations: 322.8 kB / 1.226 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.348, allocations: 31.97 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.3481, allocations: 69.12 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.3484, allocations: 105 kB / 1.226 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3484, allocations: 4 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003172/0.3487, allocations: 137.5 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3487, allocations: 4 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.3487, allocations: 4 kB / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3487, allocations: 0 / 1.226 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3489, allocations: 19.97 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3489, allocations: 4 kB / 1.226 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.349, allocations: 15.94 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.349, allocations: 8.125 kB / 1.226 GB, free: 7.961 MB / 0.9825 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.0001208/0.3491, allocations: 132.2 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.3492, allocations: 11.95 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.3492, allocations: 13.09 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3492, allocations: 7.922 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3492, allocations: 0 / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3492, allocations: 0 / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.3499, allocations: 430.3 kB / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3499, allocations: 0 / 1.227 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.3499, allocations: 19.92 kB / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.35, allocations: 0 / 1.227 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.35, allocations: 3.984 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.35, allocations: 3.938 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.35, allocations: 0 / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.3503, allocations: 231.3 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.3504, allocations: 85.06 kB / 1.227 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.3504, allocations: 3.984 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3506, allocations: 15.92 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.3506, allocations: 11.98 kB / 1.227 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.3506, allocations: 4 kB / 1.227 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.648e-05/0.3507, allocations: 101.8 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3507, allocations: 4 kB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003232/0.351, allocations: 47.86 kB / 1.227 GB, free: 6.754 MB / 0.9825 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.0003797/0.3514, allocations: 165.2 kB / 1.227 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003134/0.3517, allocations: 87.89 kB / 1.227 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3517, allocations: 0 / 1.227 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3519, allocations: 43.97 kB / 1.227 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3522, allocations: 11.98 kB / 1.227 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.3527, allocations: 215.6 kB / 1.228 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.3529, allocations: 0.6968 MB / 1.228 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.138e-05/0.353, allocations: 4.672 kB / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.353, allocations: 15.42 kB / 1.228 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.353, allocations: 3.938 kB / 1.228 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of Templates: time 0.005467/0.3585, allocations: 1.827 MB / 1.23 GB, free: 3.66 MB / 0.9825 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=480 -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/jenkins/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