Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_9_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.00126/0.00126, 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.001242/0.001242, allocations: 195.9 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.315/1.315, 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.332/2.332, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5227, allocations: 140.4 MB / 0.949 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002049/0.5248, allocations: 1.557 MB / 0.9506 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.5257, allocations: 0.7724 MB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.5258, allocations: 0.9375 kB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.5258, allocations: 11.86 kB / 0.9513 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.583e-05/0.5259, allocations: 6.781 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.5263, allocations: 113.7 kB / 0.9514 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.8e-05/0.5264, allocations: 94.38 kB / 0.9515 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.323e-05/0.5264, allocations: 21.22 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.5265, allocations: 47.05 kB / 0.9516 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.5266, allocations: 43.36 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.5266, allocations: 5.219 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.5268, allocations: 95.19 kB / 0.9517 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.5268, allocations: 19.61 kB / 0.9518 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.5268, allocations: 39.2 kB / 0.9518 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.527, allocations: 160 kB / 0.9519 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.527, allocations: 4 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.71e-07/0.527, allocations: 0.9688 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.5271, allocations: 0 / 0.952 GB, free: 6.918 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.0004853/0.5275, allocations: 459.4 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.5276, allocations: 9.406 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.5276, allocations: 35.72 kB / 0.9524 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.5277, allocations: 9.25 kB / 0.9524 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.058e-05/0.5277, allocations: 176.5 kB / 0.9526 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.5278, allocations: 15.23 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.5278, allocations: 4.656 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.528, allocations: 87.05 kB / 0.9527 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.528, allocations: 3.984 kB / 0.9527 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.528, allocations: 7.922 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.528, allocations: 1.156 kB / 0.9527 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.5282, allocations: 49.75 kB / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.5288, allocations: 341.2 kB / 0.9531 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.5289, allocations: 53.56 kB / 0.9531 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.5291, allocations: 52.89 kB / 0.9532 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.5291, allocations: 5.406 kB / 0.9532 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.5293, allocations: 98.2 kB / 0.9533 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.5293, allocations: 0 / 0.9533 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004706/0.5298, allocations: 181.6 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.5298, allocations: 58.12 kB / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.449e-05/0.5299, allocations: 138.1 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.5299, allocations: 27.08 kB / 0.9537 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.5299, allocations: 91.08 kB / 0.9538 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.5299, allocations: 26.44 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.53, allocations: 32.33 kB / 0.9538 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.413e-05/0.53, allocations: 320.1 kB / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.5301, allocations: 32.12 kB / 0.9542 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.669e-05/0.5302, allocations: 61.97 kB / 0.9542 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.5303, allocations: 95.55 kB / 0.9543 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5304, allocations: 0 / 0.9543 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002284/0.5306, allocations: 132.9 kB / 0.9544 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.5306, allocations: 7.031 kB / 0.9544 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5306, allocations: 1.406 kB / 0.9544 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.5306, allocations: 2.281 kB / 0.9544 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.5307, allocations: 14.58 kB / 0.9545 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5308, allocations: 1.094 kB / 0.9545 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.558e-05/0.5308, allocations: 16.97 kB / 0.9545 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.5309, allocations: 4.781 kB / 0.9545 GB, free: 4.543 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 5.995e-05/0.5309, allocations: 123.1 kB / 0.9546 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.5309, allocations: 11.8 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/0.531, allocations: 9.688 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.531, allocations: 1.156 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.531, allocations: 1.031 kB / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.531, allocations: 0 / 0.9546 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.5314, allocations: 429.3 kB / 0.955 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5314, allocations: 8 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.5315, allocations: 7.766 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5315, allocations: 1.469 kB / 0.9551 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.5315, allocations: 1.219 kB / 0.9551 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.5315, allocations: 0 / 0.9551 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5315, allocations: 3.938 kB / 0.9551 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.5318, allocations: 246.7 kB / 0.9553 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.5319, allocations: 87.22 kB / 0.9554 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.5319, allocations: 5.188 kB / 0.9554 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.532, allocations: 3.312 kB / 0.9554 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.532, allocations: 14.78 kB / 0.9554 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.5321, allocations: 10.8 kB / 0.9554 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.5321, allocations: 102.8 kB / 0.9555 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5321, allocations: 0 / 0.9555 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002789/0.5324, allocations: 43.45 kB / 0.9555 GB, free: 3.57 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.0006329/0.533, allocations: 0.8243 MB / 0.9564 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.5333, allocations: 95.27 kB / 0.9564 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5333, allocations: 0 / 0.9564 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.5334, allocations: 49.81 kB / 0.9565 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.5337, allocations: 21.86 kB / 0.9565 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.5349, allocations: 1.578 MB / 0.9581 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.696e-05/0.535, allocations: 0.6943 MB / 0.9587 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.5351, allocations: 4.438 kB / 0.9587 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.5351, allocations: 22.73 kB / 0.9588 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5351, allocations: 0 / 0.9588 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.5463, allocations: 2.755 MB / 0.9614 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.5465, allocations: 262.4 kB / 0.9617 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.318, allocations: 0 / 0.9617 GB, free: 14.92 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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