Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_latest_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.005925/0.005925, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.001488/0.001488, allocations: 192.5 kB / 16.67 MB, free: 5.969 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.843/2.843, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 56.12 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3126, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003022/0.3156, allocations: 1.518 MB / 1.209 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3171, allocations: 0.7521 MB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.3172, allocations: 0 / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.3172, allocations: 7.875 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.3173, allocations: 23.84 kB / 1.21 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006736/0.318, allocations: 139.5 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.3182, allocations: 91.77 kB / 1.21 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3183, allocations: 19.97 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.3184, allocations: 47.84 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.212e-05/0.3185, allocations: 51.86 kB / 1.21 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.3186, allocations: 12 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.3188, allocations: 103.8 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.3188, allocations: 15.98 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.3189, allocations: 51.77 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.3192, allocations: 163.8 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3192, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3192, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.3192, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 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.0007556/0.32, allocations: 463.6 kB / 1.211 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.32, allocations: 12.62 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.06e-05/0.3201, allocations: 42.67 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.3202, allocations: 12.84 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3203, allocations: 172.3 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.3204, allocations: 8.312 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.3204, allocations: 8.375 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.3207, allocations: 85.75 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3207, allocations: 3.938 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.3207, allocations: 8 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3207, allocations: 3.984 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.3209, allocations: 47.95 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008637/0.3218, allocations: 344.7 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.322, allocations: 66.58 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.3222, allocations: 48.77 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3222, allocations: 0 / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.3226, allocations: 95.5 kB / 1.212 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.934e-06/0.3226, allocations: 4 kB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0006266/0.3232, allocations: 185.5 kB / 1.212 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.3233, allocations: 59.34 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3234, allocations: 129.7 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3234, allocations: 29.7 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.3235, allocations: 88.14 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.3235, allocations: 23.8 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.129e-05/0.3236, allocations: 29.7 kB / 1.212 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3238, allocations: 322.8 kB / 1.212 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.3239, allocations: 31.97 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.324, allocations: 66.91 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3242, allocations: 96.2 kB / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3242, allocations: 0 / 1.213 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002751/0.3245, allocations: 133.4 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3245, allocations: 8.094 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3246, allocations: 4 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3246, allocations: 0 / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3247, allocations: 15.98 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3247, allocations: 3.938 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.759e-05/0.3248, allocations: 11.84 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.3248, allocations: 4 kB / 1.213 GB, free: 4.289 MB / 0.9669 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.0001037/0.3249, allocations: 129.8 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.325, allocations: 11.91 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.325, allocations: 8.375 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.325, allocations: 7.938 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.325, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.325, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000615/0.3256, allocations: 434.4 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3256, allocations: 0 / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-05/0.3257, allocations: 8 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3257, allocations: 0 / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.3257, allocations: 3.984 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3257, allocations: 4 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3257, allocations: 3.938 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.3262, allocations: 247.3 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.3262, allocations: 92.94 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.3263, allocations: 4 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.3264, allocations: 4 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.3264, allocations: 11.92 kB / 1.214 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.3265, allocations: 7.938 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.984e-05/0.3265, allocations: 95.27 kB / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3265, allocations: 0 / 1.214 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003371/0.3269, allocations: 43.98 kB / 1.214 GB, free: 3.09 MB / 0.9669 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.00112/0.328, allocations: 0.8382 MB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.3284, allocations: 95.83 kB / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3284, allocations: 0 / 1.215 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.3285, allocations: 47.97 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3288, allocations: 15.92 kB / 1.215 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.3307, allocations: 1.58 MB / 1.216 GB, free: 408 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.331, allocations: 0.6924 MB / 1.217 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.871e-05/0.331, allocations: 7.984 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.3311, allocations: 19.44 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3311, allocations: 0 / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.3531, allocations: 3.065 MB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.129, allocations: 7.812 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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