Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_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.0008763/0.000876, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00765/0.00765, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.633/1.633, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437.8 MB / 0.7121 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003996/0.0003995, allocations: 8 kB / 0.873 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.676/0.6764, allocations: 153.8 MB / 1.023 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001676/0.6781, allocations: 1.238 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001167/0.6793, allocations: 0.7481 MB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.6794, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.6794, allocations: 3.938 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.295e-05/0.6795, allocations: 11.86 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005611/0.68, allocations: 119.8 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.6802, allocations: 99.75 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.909e-05/0.6803, allocations: 11.98 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/0.6804, allocations: 43.84 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.6804, allocations: 47.81 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.6805, allocations: 4 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.6806, allocations: 87.91 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.6807, allocations: 27.89 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.6807, allocations: 61.5 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002212/0.681, allocations: 165.9 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.681, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.681, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.681, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 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.0005699/0.6816, allocations: 446.6 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6816, allocations: 12.03 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.6817, allocations: 38.73 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.6817, allocations: 8.844 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.6818, allocations: 176.2 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.6819, allocations: 4.375 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.6819, allocations: 8.359 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.6821, allocations: 97.69 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.6821, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.6822, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.6822, allocations: 11.98 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.6824, allocations: 51.97 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.6831, allocations: 348.6 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.6832, allocations: 70.53 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.6834, allocations: 44.83 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.6834, allocations: 8 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.6837, allocations: 91.36 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.6837, allocations: 3.938 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005428/0.6842, allocations: 197.5 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.6843, allocations: 55.41 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.6843, allocations: 125.8 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.6844, allocations: 29.7 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.6844, allocations: 100 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.6845, allocations: 23.73 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.6845, allocations: 21.7 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.6846, allocations: 326.8 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/0.6847, allocations: 35.97 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-05/0.6848, allocations: 63.78 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.685, allocations: 100.2 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.685, allocations: 0 / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002548/0.6852, allocations: 145.4 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.6852, allocations: 8 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.6853, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.6853, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.6854, allocations: 23.92 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.6854, allocations: 4 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.966e-05/0.6855, allocations: 4 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.6855, allocations: 8.094 kB / 1.028 GB, free: 10.46 MB / 0.7794 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 8.617e-05/0.6856, allocations: 130.3 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.6856, allocations: 7.906 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.179e-05/0.6856, allocations: 4.375 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6856, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.6856, allocations: 4 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6856, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.6862, allocations: 446.2 kB / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6862, allocations: 0 / 1.029 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.6862, allocations: 4 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.6863, allocations: 4 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.6863, allocations: 11.92 kB / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6863, allocations: 0 / 1.029 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6863, allocations: 7.938 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.6867, allocations: 255.7 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.6867, allocations: 81.02 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.6867, allocations: 7.984 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.6869, allocations: 8 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.6869, allocations: 11.92 kB / 1.029 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.6869, allocations: 4 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.687, allocations: 95.27 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.687, allocations: 0 / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002802/0.6873, allocations: 47.92 kB / 1.029 GB, free: 9.254 MB / 0.7794 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.0008673/0.6881, allocations: 0.8384 MB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.6884, allocations: 99.86 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6884, allocations: 0 / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.6886, allocations: 51.97 kB / 1.03 GB, free: 8.254 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.6888, allocations: 22.73 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.6904, allocations: 1.614 MB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.6906, allocations: 0.6887 MB / 1.033 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.6907, allocations: 4 kB / 1.033 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.6907, allocations: 23.42 kB / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6907, allocations: 0 / 1.033 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.426/2.117, allocations: 2.672 MB / 1.035 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003838/2.117, allocations: 259 kB / 1.035 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/4.041, allocations: 2.391 kB / 1.035 GB, free: 2.988 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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