Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_9_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.00114/0.00114, 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.001117/0.001117, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 67.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6036, allocations: 140.4 MB / 0.9492 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002633/0.6063, allocations: 1.562 MB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.6074, allocations: 0.7423 MB / 0.9515 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.6074, allocations: 5.312 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.972e-05/0.6075, allocations: 3.984 kB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.388e-05/0.6075, allocations: 9.25 kB / 0.9515 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.6081, allocations: 128.8 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.6082, allocations: 106.4 kB / 0.9517 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.6083, allocations: 18.27 kB / 0.9518 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.302e-05/0.6084, allocations: 50.89 kB / 0.9518 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.6085, allocations: 52.56 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.6085, allocations: 9.281 kB / 0.9519 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.6087, allocations: 92.16 kB / 0.9519 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.6087, allocations: 27.88 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.988e-05/0.6088, allocations: 42.69 kB / 0.952 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.609, allocations: 169.6 kB / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.609, allocations: 0 / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.609, allocations: 4 kB / 0.9522 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.6091, allocations: 1.25 kB / 0.9522 GB, free: 6.82 MB / 0.7169 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.0006043/0.6097, allocations: 459.4 kB / 0.9526 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6097, allocations: 9.594 kB / 0.9526 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.6097, allocations: 35.86 kB / 0.9527 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.6098, allocations: 8.906 kB / 0.9527 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.315e-05/0.6099, allocations: 176.1 kB / 0.9528 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.6099, allocations: 3.156 kB / 0.9528 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.6099, allocations: 9.438 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.6102, allocations: 95.31 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.6102, allocations: 0 / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.6102, allocations: 0 / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6102, allocations: 1.406 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.6104, allocations: 50.3 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006879/0.6111, allocations: 346.1 kB / 0.9533 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.6113, allocations: 66.59 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.6114, allocations: 53.41 kB / 0.9534 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.6114, allocations: 5.625 kB / 0.9534 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002358/0.6117, allocations: 87.73 kB / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.6117, allocations: 0 / 0.9535 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0005605/0.6123, allocations: 189.1 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.6123, allocations: 56.88 kB / 0.9538 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.86e-05/0.6124, allocations: 131.3 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.6124, allocations: 27.05 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.6125, allocations: 95.14 kB / 0.954 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.6125, allocations: 30.47 kB / 0.954 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.6126, allocations: 31.36 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.6126, allocations: 321.8 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.6127, allocations: 35.88 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.738e-05/0.6128, allocations: 56.81 kB / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.613, allocations: 99.22 kB / 0.9546 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.613, allocations: 1.5 kB / 0.9546 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002321/0.6132, allocations: 132.5 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.6133, allocations: 5.031 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6133, allocations: 1.062 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6133, allocations: 2.156 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.6134, allocations: 18.11 kB / 0.9547 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6134, allocations: 2.219 kB / 0.9547 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.654e-05/0.6135, allocations: 16.41 kB / 0.9547 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.6135, allocations: 3.969 kB / 0.9547 GB, free: 4.441 MB / 0.7169 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 7.915e-05/0.6136, allocations: 124.6 kB / 0.9548 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.6136, allocations: 6.969 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.6137, allocations: 10.84 kB / 0.9549 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6137, allocations: 0 / 0.9549 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6137, allocations: 1.719 kB / 0.9549 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.6137, allocations: 0 / 0.9549 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.6142, allocations: 438.9 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6142, allocations: 0 / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.6142, allocations: 3.312 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.6143, allocations: 1.094 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.6143, allocations: 9.078 kB / 0.9553 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6143, allocations: 5.219 kB / 0.9553 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.6143, allocations: 3.938 kB / 0.9553 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.6146, allocations: 248.2 kB / 0.9555 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.6147, allocations: 86.31 kB / 0.9556 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.6147, allocations: 1.969 kB / 0.9556 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.6148, allocations: 3.562 kB / 0.9556 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.6149, allocations: 10.98 kB / 0.9556 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.6149, allocations: 11.19 kB / 0.9556 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.6149, allocations: 97.55 kB / 0.9557 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6149, allocations: 3.938 kB / 0.9557 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003136/0.6153, allocations: 43.42 kB / 0.9558 GB, free: 3.473 MB / 0.7169 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.0007723/0.616, allocations: 0.8422 MB / 0.9566 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.6163, allocations: 95.83 kB / 0.9567 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6164, allocations: 0 / 0.9567 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.6165, allocations: 50.56 kB / 0.9567 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.6168, allocations: 24.08 kB / 0.9568 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.6182, allocations: 1.579 MB / 0.9583 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001171/0.6183, allocations: 0.6935 MB / 0.959 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.6183, allocations: 7.469 kB / 0.959 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.6184, allocations: 23.55 kB / 0.959 GB, free: 472 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6184, allocations: 0 / 0.959 GB, free: 472 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.6326, allocations: 2.85 MB / 0.9618 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.6329, allocations: 261.8 kB / 0.9621 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.4, allocations: 4 kB / 0.9621 GB, free: 14.76 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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