Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.005317/0.005317, allocations: 100.4 kB / 15.73 MB, free: 6.016 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.001475/0.001475, allocations: 187.6 kB / 16.67 MB, free: 5.934 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.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.329/2.329, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 72.12 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5889/0.5907, allocations: 151.6 MB / 1.166 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002374/0.5931, allocations: 1.508 MB / 1.168 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.5943, allocations: 0.7635 MB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.938e-05/0.5943, allocations: 0 / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.5944, allocations: 7.922 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.5944, allocations: 11.81 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.595, allocations: 139.6 kB / 1.169 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.5951, allocations: 111.7 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.589e-05/0.5952, allocations: 8 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.502e-05/0.5953, allocations: 47.89 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.232e-05/0.5954, allocations: 51.81 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.5954, allocations: 12 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.5956, allocations: 99.84 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.5956, allocations: 27.89 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.5957, allocations: 39.8 kB / 1.169 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.5959, allocations: 167.2 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.5959, allocations: 0 / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5959, allocations: 0 / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.596, allocations: 4 kB / 1.169 GB, free: 0.8359 MB / 0.8887 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.000603/0.5966, allocations: 458.4 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.5966, allocations: 8.922 kB / 1.17 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.5967, allocations: 38.73 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.5967, allocations: 12.89 kB / 1.17 GB, free: 268 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.5968, allocations: 180.2 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.5968, allocations: 384 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.5969, allocations: 12.3 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.5971, allocations: 97.69 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5971, allocations: 3.984 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5972, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.5972, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.5973, allocations: 51.91 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006924/0.598, allocations: 344.6 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.5982, allocations: 62.55 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.5984, allocations: 48.98 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.5984, allocations: 7.984 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.5986, allocations: 95.39 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.5986, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005383/0.5992, allocations: 189.5 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.5992, allocations: 55.41 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.5993, allocations: 123.6 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.5994, allocations: 33.7 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.5994, allocations: 96.08 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.5994, allocations: 15.89 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.5995, allocations: 33.7 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5996, allocations: 322.8 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-05/0.5997, allocations: 35.92 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.5998, allocations: 60.27 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.6, allocations: 96.2 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6, allocations: 4 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002508/0.6003, allocations: 125.5 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6003, allocations: 8 kB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6003, allocations: 0 / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.6003, allocations: 4 kB / 1.172 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/0.6004, allocations: 15.98 kB / 1.172 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.6004, allocations: 8.094 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.6005, allocations: 15.88 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.6005, allocations: 4 kB / 1.172 GB, free: 13.95 MB / 0.9044 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.43e-05/0.6006, allocations: 125.7 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.6007, allocations: 7.953 kB / 1.172 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.6007, allocations: 8.375 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6007, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.6007, allocations: 3.938 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6007, allocations: 11.92 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.6013, allocations: 422.4 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.6013, allocations: 3.938 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.6013, allocations: 7.984 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6014, allocations: 4 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.6014, allocations: 4 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6014, allocations: 0 / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.6014, allocations: 12 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.6018, allocations: 243.8 kB / 1.172 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.6018, allocations: 85.06 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.6019, allocations: 0 / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.602, allocations: 7.984 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.602, allocations: 11.94 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.602, allocations: 11.98 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.6021, allocations: 92.02 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6021, allocations: 0 / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002742/0.6024, allocations: 43.88 kB / 1.173 GB, free: 12.77 MB / 0.9044 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.0008904/0.6033, allocations: 0.8495 MB / 1.174 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.6036, allocations: 95.81 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6036, allocations: 192 / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.6037, allocations: 51.91 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.604, allocations: 21.64 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.6056, allocations: 1.579 MB / 1.175 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.6059, allocations: 0.6885 MB / 1.176 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.794e-05/0.606, allocations: 11.86 kB / 1.176 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.606, allocations: 23.42 kB / 1.176 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/0.606, allocations: 0 / 1.176 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.409/2.015, allocations: 2.998 MB / 1.179 GB, free: 6.434 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/20.31, allocations: 10.58 kB / 1.179 GB, free: 6.426 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed