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.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.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.001261/0.001261, 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.001242/0.001242, 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.315/1.315, 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.241/2.241, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001295, allocations: 67.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.6108, allocations: 140.4 MB / 0.9492 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002276/0.6131, allocations: 1.566 MB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009585/0.6141, allocations: 0.7462 MB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.6141, allocations: 5.312 kB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.6141, allocations: 0 / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.808e-05/0.6142, allocations: 13.23 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.6146, allocations: 124.9 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.18e-05/0.6147, allocations: 102.4 kB / 0.9517 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.359e-05/0.6148, allocations: 20.94 kB / 0.9518 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.6149, allocations: 43.25 kB / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.615, allocations: 51.94 kB / 0.9518 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.615, allocations: 9.5 kB / 0.9519 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.6152, allocations: 95.91 kB / 0.9519 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.6152, allocations: 32.2 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.6152, allocations: 34.77 kB / 0.952 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.6154, allocations: 173.8 kB / 0.9522 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6154, allocations: 0 / 0.9522 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6154, allocations: 4 kB / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.6154, allocations: 0 / 0.9522 GB, free: 6.824 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.0004788/0.6159, allocations: 456.1 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.6159, allocations: 9.688 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.616, allocations: 40.17 kB / 0.9527 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.616, allocations: 8.656 kB / 0.9527 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.724e-05/0.6161, allocations: 172.2 kB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.6161, allocations: 6.906 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.6161, allocations: 13.23 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.6163, allocations: 85.36 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.6164, allocations: 1.312 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6164, allocations: 0 / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.6164, allocations: 0.875 kB / 0.9529 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.6165, allocations: 49.33 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005811/0.6171, allocations: 350.2 kB / 0.9533 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.6173, allocations: 57.61 kB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.6174, allocations: 48.11 kB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.6174, allocations: 1.156 kB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.6176, allocations: 94.69 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.6176, allocations: 0 / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004519/0.6181, allocations: 185.6 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.6181, allocations: 62.34 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.307e-05/0.6182, allocations: 130.1 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.6182, allocations: 31.02 kB / 0.9539 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.6182, allocations: 91.23 kB / 0.954 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.6182, allocations: 23.17 kB / 0.954 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.6183, allocations: 31.7 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.58e-05/0.6183, allocations: 324.2 kB / 0.9543 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.6184, allocations: 28.23 kB / 0.9544 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.1e-05/0.6185, allocations: 68.33 kB / 0.9544 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.6186, allocations: 93.09 kB / 0.9545 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6186, allocations: 3.938 kB / 0.9545 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002154/0.6189, allocations: 129.2 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.6189, allocations: 5.125 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6189, allocations: 0.9062 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.6189, allocations: 6.328 kB / 0.9547 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/0.619, allocations: 18.19 kB / 0.9547 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.619, allocations: 6.109 kB / 0.9547 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.6191, allocations: 8.812 kB / 0.9547 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.6191, allocations: 7.25 kB / 0.9547 GB, free: 4.453 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.708e-05/0.6192, allocations: 124.4 kB / 0.9548 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.6192, allocations: 6.875 kB / 0.9548 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/0.6192, allocations: 10.14 kB / 0.9548 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.6192, allocations: 1.125 kB / 0.9548 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.6192, allocations: 0.9062 kB / 0.9548 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6192, allocations: 0 / 0.9548 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.6197, allocations: 434.1 kB / 0.9553 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.6197, allocations: 0 / 0.9553 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.6197, allocations: 11.45 kB / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6197, allocations: 1.094 kB / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.6197, allocations: 1.094 kB / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6198, allocations: 5.031 kB / 0.9553 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.6198, allocations: 3.938 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.6201, allocations: 246.2 kB / 0.9555 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.6201, allocations: 82.64 kB / 0.9556 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.6201, allocations: 5.297 kB / 0.9556 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.6202, allocations: 4 kB / 0.9556 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.6203, allocations: 15.05 kB / 0.9556 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.6203, allocations: 2.469 kB / 0.9556 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.6203, allocations: 98.05 kB / 0.9557 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6203, allocations: 7.938 kB / 0.9557 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002723/0.6206, allocations: 43.17 kB / 0.9558 GB, free: 3.488 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.0006164/0.6212, allocations: 0.8359 MB / 0.9566 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002409/0.6215, allocations: 94.86 kB / 0.9567 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.6215, allocations: 1.156 kB / 0.9567 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.6216, allocations: 53.47 kB / 0.9567 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.6219, allocations: 19.67 kB / 0.9567 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.623, allocations: 1.578 MB / 0.9583 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.312e-05/0.6231, allocations: 0.6927 MB / 0.959 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.6232, allocations: 8.25 kB / 0.959 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.6232, allocations: 23.58 kB / 0.959 GB, free: 492 kB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6232, allocations: 0 / 0.959 GB, free: 492 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.6649, allocations: 2.832 MB / 0.9617 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.6651, allocations: 263.4 kB / 0.962 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.351, allocations: 1.094 kB / 0.962 GB, free: 14.8 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