Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",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.003867/0.003867, allocations: 104.1 kB / 15.73 MB, free: 6.055 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.001/0.001, allocations: 195.9 kB / 16.68 MB, free: 5.961 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.378/2.378, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 59.91 kB / 0.9504 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.037, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002888/1.04, allocations: 1.624 MB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001399/1.041, allocations: 0.7885 MB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/1.041, allocations: 1.562 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/1.041, allocations: 13.73 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.445e-05/1.041, allocations: 24.05 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/1.042, allocations: 160.3 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/1.042, allocations: 152.2 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/1.042, allocations: 18.62 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/1.043, allocations: 66.34 kB / 1.09 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/1.043, allocations: 80.09 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/1.043, allocations: 17 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/1.043, allocations: 101.6 kB / 1.09 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/1.043, allocations: 35.22 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/1.043, allocations: 62.92 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003351/1.043, allocations: 205.8 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.043, allocations: 1.25 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/1.043, allocations: 0 / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.502e-06/1.043, allocations: 0 / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008176/1.044, allocations: 0.5361 MB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.044, allocations: 9.75 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/1.044, allocations: 38.41 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/1.044, allocations: 15.33 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001037/1.045, allocations: 188.8 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/1.045, allocations: 8.484 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/1.045, allocations: 9.188 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/1.045, allocations: 149.7 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.045, allocations: 0 / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/1.045, allocations: 1.125 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.045, allocations: 1.094 kB / 1.092 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/1.046, allocations: 109.3 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007842/1.046, allocations: 379.6 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/1.047, allocations: 100 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/1.047, allocations: 85.2 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/1.047, allocations: 1.062 kB / 1.092 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/1.048, allocations: 145.1 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/1.048, allocations: 0 / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001238/1.049, allocations: 307.5 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.049, allocations: 53.88 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.049, allocations: 151.6 kB / 1.093 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/1.049, allocations: 35.39 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/1.049, allocations: 95.62 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/1.049, allocations: 25.12 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/1.049, allocations: 30.73 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.544e-05/1.049, allocations: 330 kB / 1.093 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/1.05, allocations: 38.48 kB / 1.093 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/1.05, allocations: 86.42 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/1.05, allocations: 123.4 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/1.05, allocations: 1.828 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003971/1.05, allocations: 152.3 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.05, allocations: 5.625 kB / 1.094 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.05, allocations: 6.156 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.05, allocations: 2.75 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/1.051, allocations: 19.48 kB / 1.094 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/1.051, allocations: 10.17 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/1.051, allocations: 21.61 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/1.051, allocations: 10.06 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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 9.979e-05/1.051, allocations: 121 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/1.051, allocations: 9.047 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.769e-05/1.051, allocations: 16.97 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.051, allocations: 1.5 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.051, allocations: 4.5 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/1.051, allocations: 1.625 kB / 1.094 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/1.052, allocations: 0.5273 MB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/1.052, allocations: 1.344 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.892e-05/1.052, allocations: 16.91 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.052, allocations: 0.8125 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/1.052, allocations: 3.453 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/1.052, allocations: 5.391 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.052, allocations: 0.875 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008468/1.053, allocations: 327.3 kB / 1.095 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/1.053, allocations: 92.81 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/1.053, allocations: 11.39 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/1.054, allocations: 24.22 kB / 1.095 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/1.054, allocations: 10.67 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/1.054, allocations: 4.922 kB / 1.095 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.376e-05/1.054, allocations: 109.2 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/1.054, allocations: 0 / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003665/1.054, allocations: 46.75 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001614/1.056, allocations: 0.9298 MB / 1.096 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006537/1.056, allocations: 148.1 kB / 1.096 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/1.056, allocations: 0.75 kB / 1.096 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003907/1.057, allocations: 84.19 kB / 1.096 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/1.057, allocations: 22.59 kB / 1.096 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/1.06, allocations: 1.774 MB / 1.098 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/1.06, allocations: 0.7019 MB / 1.099 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.343e-05/1.06, allocations: 9.984 kB / 1.099 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.333e-05/1.06, allocations: 31.88 kB / 1.099 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of SimCode: time 4.21e-07/1.06, allocations: 0.875 kB / 1.099 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.424/3.485, allocations: 3.472 MB / 1.102 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/15.45, allocations: 7.734 kB / 1.102 GB, free: 12.38 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches