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.001147/0.001147, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 61.09 kB / 0.8992 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.309, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002933/0.312, allocations: 1.519 MB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3133, allocations: 0.7599 MB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.318e-05/0.3134, allocations: 0 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.409e-05/0.3134, allocations: 3.938 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.824e-05/0.3135, allocations: 23.8 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005997/0.3141, allocations: 135.6 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.3143, allocations: 103.7 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.3144, allocations: 8 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3145, allocations: 55.77 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.3146, allocations: 47.88 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.3146, allocations: 11.94 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.3148, allocations: 103.9 kB / 1.056 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.3149, allocations: 23.95 kB / 1.056 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.439e-05/0.3149, allocations: 39.8 kB / 1.056 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.3152, allocations: 171.8 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3152, allocations: 0 / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3152, allocations: 0 / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3152, allocations: 0 / 1.056 GB, free: 5.25 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.0006777/0.3159, allocations: 456.2 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.316, allocations: 16.62 kB / 1.056 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.316, allocations: 34.75 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.3161, allocations: 8.844 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3162, allocations: 172.3 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3162, allocations: 8.375 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3163, allocations: 8.375 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.3165, allocations: 89.69 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.3165, allocations: 0 / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.3165, allocations: 4 kB / 1.057 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3166, allocations: 7.938 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.3167, allocations: 43.97 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007944/0.3175, allocations: 348.5 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.3178, allocations: 70.55 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3179, allocations: 44.83 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.3179, allocations: 4.141 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.3182, allocations: 95.34 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/0.3182, allocations: 4 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0005693/0.3188, allocations: 181.5 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.3188, allocations: 63.39 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.319, allocations: 125 kB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.319, allocations: 29.7 kB / 1.058 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.3191, allocations: 92.12 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.3191, allocations: 27.7 kB / 1.058 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.808e-05/0.3192, allocations: 33.64 kB / 1.058 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3193, allocations: 326.8 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.3194, allocations: 27.98 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3195, allocations: 64.27 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.3197, allocations: 96.2 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3197, allocations: 0 / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002698/0.32, allocations: 125.4 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.32, allocations: 8.094 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.32, allocations: 4 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.32, allocations: 0 / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3202, allocations: 23.92 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.361e-06/0.3202, allocations: 0 / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.3203, allocations: 11.92 kB / 1.058 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3203, allocations: 4 kB / 1.058 GB, free: 2.375 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.0001041/0.3204, allocations: 127.3 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.3204, allocations: 11.91 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.3204, allocations: 8.359 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3205, allocations: 8.031 kB / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3205, allocations: 0 / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3205, allocations: 0 / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006086/0.3211, allocations: 430.4 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3211, allocations: 4.062 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/0.3211, allocations: 15.92 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3212, allocations: 0 / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3212, allocations: 0 / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3212, allocations: 4 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3212, allocations: 3.938 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.3216, allocations: 247.3 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.3216, allocations: 88.95 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.3217, allocations: 4 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.3218, allocations: 7.984 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.3218, allocations: 7.938 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.3219, allocations: 7.984 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.161e-05/0.3219, allocations: 95.27 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3219, allocations: 0 / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003028/0.3222, allocations: 40 kB / 1.059 GB, free: 1.188 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.0008799/0.3231, allocations: 0.8431 MB / 1.06 GB, free: 344 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002924/0.3234, allocations: 99.86 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3234, allocations: 4 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3236, allocations: 51.97 kB / 1.06 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.3239, allocations: 7.938 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.3256, allocations: 1.561 MB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.3259, allocations: 0.6922 MB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.3259, allocations: 4 kB / 1.063 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.326, allocations: 27.42 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.326, allocations: 3.938 kB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.3459, allocations: 2.973 MB / 1.066 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.749/7.095, allocations: 6.812 kB / 1.066 GB, free: 10.91 MB / 0.8262 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