Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_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.001363/0.001363, allocations: 115.3 kB / 15.34 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.002028/0.002029, allocations: 188.2 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.105/2.105, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.223/3.223, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 63.03 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6214/0.6238, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.005552/0.6294, allocations: 1.583 MB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002442/0.6319, allocations: 0.7478 MB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.837e-05/0.632, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.642e-05/0.6321, allocations: 19.81 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.6323, allocations: 11.86 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.6336, allocations: 115.8 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.6339, allocations: 99.75 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.6341, allocations: 8 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.6343, allocations: 51.83 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.6345, allocations: 63.73 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.6345, allocations: 8 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.635, allocations: 95.91 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.635, allocations: 15.98 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.6352, allocations: 51.77 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.6356, allocations: 159.9 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.6356, allocations: 7.922 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.236e-06/0.6357, allocations: 0 / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.6357, allocations: 0 / 1.055 GB, free: 5.594 MB / 0.8106 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.001174/0.6369, allocations: 458.6 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.284e-05/0.637, allocations: 12.62 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.77e-05/0.637, allocations: 34.75 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.6371, allocations: 12.83 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.6374, allocations: 168.3 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.6374, allocations: 4.375 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.6375, allocations: 4.375 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.6379, allocations: 97.69 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.6379, allocations: 4 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.638, allocations: 3.938 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.638, allocations: 4 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.6383, allocations: 43.97 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.6395, allocations: 348.6 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.6398, allocations: 66.56 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.6401, allocations: 44.83 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.6401, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004898/0.6406, allocations: 95.36 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 2.545e-06/0.6406, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0009288/0.6416, allocations: 185.6 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.6417, allocations: 55.41 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.6419, allocations: 125.8 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.642, allocations: 29.64 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.6421, allocations: 100.1 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/0.6421, allocations: 19.72 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.6422, allocations: 29.7 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.6425, allocations: 326.8 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.6426, allocations: 27.98 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.6428, allocations: 63.39 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.6431, allocations: 96.2 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.6432, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005008/0.6437, allocations: 133.5 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.6437, allocations: 4 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6437, allocations: 4 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.6438, allocations: 0 / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.644, allocations: 19.92 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.644, allocations: 0 / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.6442, allocations: 15.92 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.6442, allocations: 4 kB / 1.058 GB, free: 2.734 MB / 0.8106 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 0.0002076/0.6444, allocations: 128.9 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.6445, allocations: 7.906 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.95e-05/0.6445, allocations: 8.375 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.6446, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6446, allocations: 4 kB / 1.058 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.6446, allocations: 3.984 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.6456, allocations: 422.4 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.6456, allocations: 11.94 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.933e-05/0.6457, allocations: 4.062 kB / 1.058 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6457, allocations: 4 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.6458, allocations: 3.984 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6458, allocations: 0 / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.6458, allocations: 3.938 kB / 1.058 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.6465, allocations: 243.7 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.6466, allocations: 88.95 kB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.06e-05/0.6466, allocations: 8 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.6468, allocations: 7.984 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.6469, allocations: 3.938 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.647, allocations: 7.984 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001082/0.6471, allocations: 99.27 kB / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6471, allocations: 0 / 1.059 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006244/0.6477, allocations: 40 kB / 1.059 GB, free: 1.559 MB / 0.8106 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.00171/0.6494, allocations: 0.8479 MB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005326/0.65, allocations: 91.89 kB / 1.06 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.65, allocations: 4 kB / 1.06 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.6503, allocations: 43.97 kB / 1.06 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.6508, allocations: 15.92 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.6539, allocations: 1.58 MB / 1.061 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.6544, allocations: 0.6922 MB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.914e-05/0.6545, allocations: 7.984 kB / 1.062 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.6546, allocations: 19.44 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/0.6546, allocations: 4 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.927/2.582, allocations: 2.848 MB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003544/2.582, allocations: 257.1 kB / 1.065 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.856/6.438, allocations: 0 / 1.065 GB, free: 11.11 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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