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.001296/0.001296, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001209/0.001209, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.74/2.74, allocations: 469.8 MB / 0.743 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 72.8 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3147, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002936/0.3177, allocations: 1.511 MB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.319, allocations: 0.7672 MB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.3191, allocations: 0 / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.407e-05/0.3191, allocations: 7.922 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.3192, allocations: 15.81 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.3197, allocations: 123.6 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.3199, allocations: 95.69 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.225e-05/0.32, allocations: 12 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.587e-05/0.3201, allocations: 43.84 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.3202, allocations: 39.83 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3202, allocations: 4 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3204, allocations: 103.8 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.341e-05/0.3204, allocations: 23.91 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.3205, allocations: 39.8 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.3207, allocations: 139.9 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3207, allocations: 3.984 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3208, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.3208, allocations: 0 / 1.067 GB, free: 11.83 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.0007912/0.3216, allocations: 480.6 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3216, allocations: 8.625 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.3217, allocations: 8.844 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.3218, allocations: 188.2 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/0.3219, allocations: 34.25 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.3219, allocations: 8.375 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.3221, allocations: 81.64 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3221, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3222, allocations: 8 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3222, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.3224, allocations: 47.89 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.3229, allocations: 324.7 kB / 1.069 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.3232, allocations: 70.55 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3233, allocations: 36.83 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3233, allocations: 7.984 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.3236, allocations: 95.3 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.552e-06/0.3236, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.00049/0.3241, allocations: 169.5 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.3241, allocations: 59.41 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3243, allocations: 127.7 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3243, allocations: 29.7 kB / 1.069 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.3244, allocations: 92.53 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.3244, allocations: 31.62 kB / 1.069 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.3245, allocations: 33.7 kB / 1.069 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3246, allocations: 326.8 kB / 1.07 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.3247, allocations: 27.98 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.3249, allocations: 68.12 kB / 1.07 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.3251, allocations: 117 kB / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3251, allocations: 0 / 1.07 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003108/0.3255, allocations: 137.4 kB / 1.07 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3255, allocations: 4 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3255, allocations: 0 / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3255, allocations: 4 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.3256, allocations: 19.98 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3256, allocations: 0 / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3258, allocations: 16.02 kB / 1.07 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.3258, allocations: 8 kB / 1.07 GB, free: 8.93 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.0001087/0.3259, allocations: 135.9 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.3259, allocations: 8.281 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.326, allocations: 8.812 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.351e-06/0.326, allocations: 7.984 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.326, allocations: 4 kB / 1.07 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.326, allocations: 7.875 kB / 1.07 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006377/0.3266, allocations: 426.3 kB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3266, allocations: 4 kB / 1.071 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.672e-05/0.3267, allocations: 11.92 kB / 1.071 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3267, allocations: 0 / 1.071 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.3268, allocations: 8 kB / 1.071 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3268, allocations: 3.938 kB / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3268, allocations: 0 / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.3271, allocations: 231.3 kB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.3272, allocations: 88.92 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.3272, allocations: 0 / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3274, allocations: 11.92 kB / 1.071 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.3274, allocations: 15.98 kB / 1.071 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.3274, allocations: 7.984 kB / 1.071 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.432e-05/0.3275, allocations: 105.8 kB / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3275, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003026/0.3278, allocations: 40 kB / 1.071 GB, free: 7.73 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.0003513/0.3282, allocations: 154.8 kB / 1.071 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.3285, allocations: 103.8 kB / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3285, allocations: 0 / 1.071 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.3287, allocations: 51.91 kB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.329, allocations: 11.98 kB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.3295, allocations: 229.7 kB / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3298, allocations: 0.7 MB / 1.072 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.3299, allocations: 15.44 kB / 1.072 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3299, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8419 GB Notification: Performance of Templates: time 0.004012/0.3339, allocations: 1.875 MB / 1.074 GB, free: 4.547 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