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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001451/0.001451, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001636/0.001636, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.2 MB / 0.6643 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5131, allocations: 140.4 MB / 0.949 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002042/0.5151, allocations: 1.567 MB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009/0.516, allocations: 0.7653 MB / 0.9513 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.5161, allocations: 1.375 kB / 0.9513 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.5161, allocations: 3.938 kB / 0.9513 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.446e-05/0.5162, allocations: 13.28 kB / 0.9513 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.5166, allocations: 114 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.464e-05/0.5167, allocations: 98.67 kB / 0.9515 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.162e-05/0.5167, allocations: 21.41 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.063e-05/0.5168, allocations: 44.58 kB / 0.9516 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.131e-05/0.5169, allocations: 47.38 kB / 0.9517 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.5169, allocations: 5.469 kB / 0.9517 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.5171, allocations: 94.38 kB / 0.9518 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.5171, allocations: 19.97 kB / 0.9518 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.5171, allocations: 46.77 kB / 0.9518 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.5173, allocations: 152.3 kB / 0.952 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5173, allocations: 9.281 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5173, allocations: 0 / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.5173, allocations: 0 / 0.952 GB, free: 6.863 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.0004901/0.5178, allocations: 455.6 kB / 0.9524 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.5179, allocations: 13.25 kB / 0.9524 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.5179, allocations: 35.91 kB / 0.9525 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.518, allocations: 8.719 kB / 0.9525 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.66e-05/0.518, allocations: 181 kB / 0.9526 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.518, allocations: 7.5 kB / 0.9526 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.5181, allocations: 8.25 kB / 0.9526 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.5183, allocations: 86.97 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.5183, allocations: 4.969 kB / 0.9527 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5183, allocations: 4 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.5183, allocations: 1.656 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.5185, allocations: 46.02 kB / 0.9528 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.5191, allocations: 346.4 kB / 0.9531 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.5193, allocations: 66.77 kB / 0.9532 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.5194, allocations: 45.53 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.5194, allocations: 1.188 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.5196, allocations: 96.06 kB / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.5196, allocations: 0 / 0.9533 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004992/0.5201, allocations: 196.6 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.228e-05/0.5202, allocations: 52.91 kB / 0.9536 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.261e-05/0.5202, allocations: 130.9 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.5203, allocations: 31.05 kB / 0.9537 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.5203, allocations: 91.05 kB / 0.9538 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.5203, allocations: 16.03 kB / 0.9538 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.5204, allocations: 34.36 kB / 0.9538 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.478e-05/0.5204, allocations: 325.7 kB / 0.9542 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.73e-05/0.5205, allocations: 31.67 kB / 0.9542 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.411e-05/0.5206, allocations: 64.52 kB / 0.9542 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.5207, allocations: 99.56 kB / 0.9543 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5207, allocations: 5.031 kB / 0.9543 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002247/0.521, allocations: 128.9 kB / 0.9545 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.521, allocations: 9.141 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.521, allocations: 1.188 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.521, allocations: 2.312 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.974e-05/0.5211, allocations: 10.94 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5211, allocations: 13.05 kB / 0.9545 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.5212, allocations: 9.406 kB / 0.9545 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.5212, allocations: 3.438 kB / 0.9545 GB, free: 4.484 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 6.003e-05/0.5213, allocations: 124.4 kB / 0.9546 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.5213, allocations: 11.14 kB / 0.9546 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.5213, allocations: 9.469 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.5213, allocations: 1.125 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.5214, allocations: 1.125 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5214, allocations: 4 kB / 0.9547 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.5218, allocations: 434.8 kB / 0.9551 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5218, allocations: 1.344 kB / 0.9551 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.5219, allocations: 2.719 kB / 0.9551 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.5219, allocations: 1.094 kB / 0.9551 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.5219, allocations: 5.359 kB / 0.9551 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5219, allocations: 5.25 kB / 0.9551 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5219, allocations: 7.938 kB / 0.9551 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.5223, allocations: 242.8 kB / 0.9553 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.647e-05/0.5223, allocations: 84.23 kB / 0.9554 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.5223, allocations: 1.25 kB / 0.9554 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.5224, allocations: 11.36 kB / 0.9554 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.5225, allocations: 19.28 kB / 0.9554 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.5225, allocations: 2.156 kB / 0.9554 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.5225, allocations: 94.8 kB / 0.9555 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5225, allocations: 0 / 0.9555 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002785/0.5228, allocations: 42.55 kB / 0.9556 GB, free: 3.52 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.0006431/0.5235, allocations: 0.8437 MB / 0.9564 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.5237, allocations: 95.03 kB / 0.9565 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5237, allocations: 5.719 kB / 0.9565 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.5239, allocations: 45.38 kB / 0.9565 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.5241, allocations: 16.89 kB / 0.9565 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.5253, allocations: 1.592 MB / 0.9581 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.381e-05/0.5254, allocations: 0.6911 MB / 0.9588 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.958e-05/0.5255, allocations: 6.797 kB / 0.9588 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.5255, allocations: 20.03 kB / 0.9588 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5255, allocations: 0 / 0.9588 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01146/0.537, allocations: 2.77 MB / 0.9615 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.5372, allocations: 258.4 kB / 0.9618 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.306, allocations: 5.031 kB / 0.9618 GB, free: 14.84 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