Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006925/0.006925, allocations: 99.16 kB / 15.73 MB, free: 6.012 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.001755/0.001755, allocations: 197 kB / 16.68 MB, free: 5.93 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.379/2.379, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 59.89 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6096, allocations: 159.1 MB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.00236/0.612, allocations: 1.521 MB / 1.222 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.6132, allocations: 0.7489 MB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.264e-05/0.6132, allocations: 0 / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.6133, allocations: 11.92 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.044e-05/0.6133, allocations: 11.86 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.6138, allocations: 139.5 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.614, allocations: 99.64 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.562e-05/0.614, allocations: 11.98 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.6141, allocations: 51.84 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.6142, allocations: 55.8 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.6142, allocations: 8 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.6144, allocations: 99.91 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.6145, allocations: 19.92 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.6145, allocations: 47.77 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.6148, allocations: 163.1 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6148, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6148, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.6148, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 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.0006314/0.6154, allocations: 466.3 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.6155, allocations: 12.03 kB / 1.224 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.6155, allocations: 30.75 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.6156, allocations: 12.89 kB / 1.224 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.6157, allocations: 184.2 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.6157, allocations: 4.375 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.6157, allocations: 12.3 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.616, allocations: 93.69 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.616, allocations: 4 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.616, allocations: 0 / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.616, allocations: 4 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.6162, allocations: 43.97 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.6169, allocations: 340.6 kB / 1.224 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.617, allocations: 62.55 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.6171, allocations: 40.84 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.6172, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.6174, allocations: 99.48 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 6.983e-06/0.6174, allocations: 4.094 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0004884/0.6179, allocations: 181.5 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.6179, allocations: 55.41 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.618, allocations: 129.8 kB / 1.225 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.6181, allocations: 25.7 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.6181, allocations: 96.12 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.6182, allocations: 19.91 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.187e-05/0.6182, allocations: 29.7 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6183, allocations: 326.8 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.6184, allocations: 23.98 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.6185, allocations: 69.02 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.6187, allocations: 96.16 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6187, allocations: 0 / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002587/0.619, allocations: 133.5 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.619, allocations: 8.094 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.619, allocations: 7.938 kB / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.619, allocations: 0 / 1.226 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.6191, allocations: 19.92 kB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6192, allocations: 0 / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.273e-05/0.6192, allocations: 15.89 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.6193, allocations: 7.984 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.287e-05/0.6194, allocations: 121.8 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.6194, allocations: 11.95 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.6194, allocations: 12.31 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6194, allocations: 4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.6194, allocations: 3.938 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6194, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.62, allocations: 422.4 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.62, allocations: 4 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.62, allocations: 0 / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.6201, allocations: 8 kB / 1.226 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.6201, allocations: 3.984 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.6201, allocations: 0 / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6201, allocations: 7.875 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.6205, allocations: 243.4 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.6205, allocations: 81.06 kB / 1.226 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.6205, allocations: 12 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.6206, allocations: 8.031 kB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.6207, allocations: 7.922 kB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.6207, allocations: 7.984 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.6208, allocations: 100.6 kB / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6208, allocations: 0 / 1.227 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002698/0.621, allocations: 43.88 kB / 1.227 GB, free: 11.02 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008599/0.6219, allocations: 0.8454 MB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.6222, allocations: 87.89 kB / 1.228 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6222, allocations: 4 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.6223, allocations: 43.97 kB / 1.228 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.6226, allocations: 18.06 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.6242, allocations: 1.586 MB / 1.229 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.6245, allocations: 0.6924 MB / 1.23 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.6245, allocations: 4 kB / 1.23 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.6246, allocations: 27.42 kB / 1.23 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of SimCode: time 2.1e-07/0.6246, allocations: 0 / 1.23 GB, free: 7.578 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.272/1.897, allocations: 2.983 MB / 1.233 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/14.36, allocations: 5.812 kB / 1.233 GB, free: 4.715 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed