Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_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.00142/0.00142, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001604/0.001604, allocations: 194.5 kB / 16.26 MB, free: 6.621 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 437 MB / 0.7101 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 63.89 kB / 0.8689 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217/1.219, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.004248/1.223, allocations: 1.575 MB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001848/1.225, allocations: 0.7519 MB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/1.225, allocations: 0 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.659e-05/1.225, allocations: 3.938 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.742e-05/1.225, allocations: 15.91 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/1.226, allocations: 119.8 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/1.226, allocations: 103.8 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/1.226, allocations: 8 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/1.226, allocations: 47.78 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.479e-05/1.226, allocations: 55.8 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/1.226, allocations: 16 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/1.227, allocations: 99.84 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/1.227, allocations: 27.95 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.543e-05/1.227, allocations: 35.8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/1.227, allocations: 165.9 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.227, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.685e-06/1.227, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.269e-05/1.227, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 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.0008548/1.228, allocations: 462.5 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.228, allocations: 8.031 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/1.228, allocations: 38.73 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/1.228, allocations: 16.77 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/1.228, allocations: 180.2 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/1.228, allocations: 4.375 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/1.228, allocations: 8.312 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/1.229, allocations: 85.75 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.229, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/1.229, allocations: 8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/1.229, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/1.229, allocations: 47.89 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000847/1.23, allocations: 336.7 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/1.23, allocations: 62.64 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/1.23, allocations: 48.77 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/1.23, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/1.23, allocations: 91.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/1.23, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005561/1.231, allocations: 177.5 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/1.231, allocations: 63.39 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/1.231, allocations: 125.4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.231, allocations: 33.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/1.231, allocations: 91.98 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/1.231, allocations: 23.75 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/1.231, allocations: 33.7 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.231, allocations: 322.8 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/1.232, allocations: 31.92 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/1.232, allocations: 64.27 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/1.232, allocations: 96.2 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.232, allocations: 0 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002625/1.232, allocations: 129.5 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.232, allocations: 12.09 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/1.232, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.232, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/1.232, allocations: 19.98 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/1.232, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/1.232, allocations: 15.89 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/1.232, allocations: 4 kB / 1.022 GB, free: 12.83 MB / 0.7794 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 0.0001192/1.233, allocations: 126.2 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/1.233, allocations: 11.91 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/1.233, allocations: 8.359 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/1.233, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.233, allocations: 3.938 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.233, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005988/1.233, allocations: 438.6 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/1.233, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/1.233, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.233, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/1.233, allocations: 4.031 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.233, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.233, allocations: 7.922 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004459/1.234, allocations: 243.4 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/1.234, allocations: 85.02 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/1.234, allocations: 4 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/1.234, allocations: 7.984 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/1.234, allocations: 19.86 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.234, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.317e-05/1.234, allocations: 95.27 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.234, allocations: 0 / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003123/1.235, allocations: 43.98 kB / 1.023 GB, free: 11.64 MB / 0.7794 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.001084/1.236, allocations: 0.826 MB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003124/1.236, allocations: 99.83 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.236, allocations: 0 / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/1.236, allocations: 51.95 kB / 1.024 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/1.236, allocations: 16.62 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/1.239, allocations: 1.586 MB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/1.239, allocations: 0.6846 MB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.073e-05/1.239, allocations: 7.984 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/1.239, allocations: 23.42 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/1.239, allocations: 0 / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01491/1.254, allocations: 2.828 MB / 1.029 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.254, allocations: 268.8 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/3.137, allocations: 0 / 1.03 GB, free: 5.27 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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