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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002244/0.002244, allocations: 217.4 kB / 22.25 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.602/1.602, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.823/2.823, allocations: 476.7 MB / 0.7707 GB, free: 4.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 66.83 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3361, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003607/0.3397, allocations: 1.552 MB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.3415, allocations: 0.8664 MB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.3416, allocations: 0 / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.3416, allocations: 7.922 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3417, allocations: 19.8 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/0.3426, allocations: 147.5 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.3428, allocations: 103.7 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3429, allocations: 7.938 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.3431, allocations: 51.78 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3432, allocations: 35.83 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.3432, allocations: 8 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003578/0.3436, allocations: 151.7 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.3436, allocations: 19.92 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.3437, allocations: 43.78 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.3441, allocations: 163 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3441, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3441, allocations: 0 / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.3441, allocations: 4 kB / 1.286 GB, free: 8.527 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.0009127/0.345, allocations: 413.1 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.345, allocations: 8.031 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.3451, allocations: 34.69 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.3453, allocations: 28.83 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.3457, allocations: 142.4 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.3458, allocations: 85.67 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.3458, allocations: 4.375 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.346, allocations: 81.58 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.346, allocations: 3.938 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3461, allocations: 4 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.3461, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.3463, allocations: 51.89 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.3469, allocations: 299.7 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.3471, allocations: 66.58 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.3472, allocations: 36.83 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3473, allocations: 8 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.3475, allocations: 87.52 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.3475, allocations: 4 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005444/0.3481, allocations: 165.5 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/0.3481, allocations: 67.39 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3483, allocations: 135.9 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.3483, allocations: 29.7 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.3484, allocations: 96.31 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.3484, allocations: 19.86 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.3485, allocations: 37.64 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3487, allocations: 322.8 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.3488, allocations: 35.98 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3489, allocations: 69.12 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.3492, allocations: 109 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3492, allocations: 0 / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003354/0.3495, allocations: 133.5 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3495, allocations: 8 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3495, allocations: 4.125 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.3495, allocations: 7.938 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.3497, allocations: 15.92 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3497, allocations: 7.984 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.3498, allocations: 15.94 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.3498, allocations: 15.92 kB / 1.289 GB, free: 5.664 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.0001094/0.3499, allocations: 113.8 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.3499, allocations: 24.22 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.35, allocations: 12.72 kB / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.35, allocations: 0 / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.35, allocations: 0 / 1.289 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.35, allocations: 11.92 kB / 1.289 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006553/0.3506, allocations: 389.4 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3506, allocations: 0 / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.3507, allocations: 15.98 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3507, allocations: 0 / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3507, allocations: 3.938 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.3507, allocations: 4 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3507, allocations: 0 / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3511, allocations: 231.3 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.3511, allocations: 11.89 kB / 1.29 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.3512, allocations: 7.938 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3513, allocations: 11.98 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.3513, allocations: 11.97 kB / 1.29 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3513, allocations: 4 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.888e-05/0.3514, allocations: 105.9 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3514, allocations: 0 / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003406/0.3518, allocations: 43.92 kB / 1.29 GB, free: 4.605 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.00104/0.3528, allocations: 0.8274 MB / 1.291 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.3531, allocations: 95.75 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3531, allocations: 0 / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.3533, allocations: 43.91 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3536, allocations: 15.98 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.356, allocations: 1.632 MB / 1.292 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.3564, allocations: 0.7 MB / 1.293 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.888e-05/0.3564, allocations: 8.625 kB / 1.293 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.3565, allocations: 27.42 kB / 1.293 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of SimCode: time 9.82e-07/0.3565, allocations: 3.938 kB / 1.293 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.39, allocations: 3.318 MB / 1.296 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.63, allocations: 8.656 kB / 1.296 GB, free: 13.94 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.fmu > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.394099432975054]