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.006008/0.006008, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001347/0.001347, allocations: 201.8 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.537/2.537, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 61.69 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2974, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003371/0.3008, allocations: 1.645 MB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.3024, allocations: 0.7922 MB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3025, allocations: 3.938 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.603e-05/0.3026, allocations: 11.86 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.3027, allocations: 19.8 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008743/0.3036, allocations: 147.6 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.3039, allocations: 155.4 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.3041, allocations: 29.09 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.3043, allocations: 71.75 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.3044, allocations: 75.73 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.3045, allocations: 12 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.3047, allocations: 99.91 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.3048, allocations: 35.88 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.192e-05/0.3049, allocations: 67.72 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.3052, allocations: 210.8 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3053, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3053, allocations: 0 / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.3053, allocations: 0 / 1.091 GB, free: 14.61 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.0008684/0.3062, allocations: 0.5371 MB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3062, allocations: 8.031 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.3063, allocations: 38.73 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.3063, allocations: 12.84 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3065, allocations: 193.5 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.3065, allocations: 8.359 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.3065, allocations: 8.375 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004637/0.307, allocations: 133.7 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.307, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.307, allocations: 4 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3071, allocations: 7.938 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004203/0.3075, allocations: 103.9 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008012/0.3083, allocations: 388.5 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.3087, allocations: 98.48 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.309, allocations: 84.8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.309, allocations: 4 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005176/0.3096, allocations: 143.2 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.3096, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.001163/0.3107, allocations: 309.2 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3108, allocations: 55.56 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3109, allocations: 148 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.311, allocations: 33.7 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.311, allocations: 104.3 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.3111, allocations: 19.66 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.786e-05/0.3111, allocations: 37.7 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.3112, allocations: 326.8 kB / 1.093 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.3114, allocations: 35.97 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.3115, allocations: 83.86 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.3118, allocations: 117 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3118, allocations: 0 / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003678/0.3122, allocations: 169.3 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3122, allocations: 5.562 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3122, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3123, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3124, allocations: 19.98 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3124, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.3125, allocations: 20.02 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.3126, allocations: 7.938 kB / 1.094 GB, free: 11.11 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.515e-05/0.3127, allocations: 125.9 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.3127, allocations: 15.83 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.3127, allocations: 12.72 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3127, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3128, allocations: 4 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.3128, allocations: 0 / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.3138, allocations: 0.5294 MB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3138, allocations: 480 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/0.3139, allocations: 15.98 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3139, allocations: 4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.314, allocations: 3.984 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.314, allocations: 3.938 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.314, allocations: 3.938 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.3148, allocations: 331.2 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.3148, allocations: 85.02 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3149, allocations: 0 / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.3151, allocations: 23.91 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.3152, allocations: 20.06 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.3152, allocations: 4 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.293e-05/0.3153, allocations: 109.1 kB / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3153, allocations: 0 / 1.095 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003443/0.3156, allocations: 47.98 kB / 1.095 GB, free: 9.688 MB / 0.8575 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.001316/0.3169, allocations: 0.9335 MB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.3175, allocations: 139.8 kB / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3175, allocations: 256 / 1.096 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.3179, allocations: 95.86 kB / 1.096 GB, free: 8.512 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3182, allocations: 15.86 kB / 1.096 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.3206, allocations: 1.762 MB / 1.098 GB, free: 6.633 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.3208, allocations: 0.7002 MB / 1.099 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.471e-05/0.3209, allocations: 8 kB / 1.099 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.321, allocations: 35.42 kB / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.321, allocations: 0 / 1.099 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.342, allocations: 3.544 MB / 1.102 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.248/8.59, allocations: 13.3 kB / 1.102 GB, free: 2.457 MB / 0.8575 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