Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_latest_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.001573/0.001573, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0017/0.0017, allocations: 197.1 kB / 16.14 MB, free: 6.711 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.451/1.451, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.16 kB / 0.8985 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2808, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002935/0.2837, allocations: 1.7 MB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.2851, allocations: 0.7907 MB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.2852, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.2853, allocations: 7.938 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.695e-05/0.2854, allocations: 19.84 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.2859, allocations: 135.7 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.2861, allocations: 143.5 kB / 1.055 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.672e-05/0.2862, allocations: 33.08 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.2863, allocations: 55.83 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.2864, allocations: 79.66 kB / 1.055 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.2865, allocations: 8 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2867, allocations: 87.91 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.2867, allocations: 35.89 kB / 1.055 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.488e-05/0.2868, allocations: 55.7 kB / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.2871, allocations: 199.7 kB / 1.055 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2871, allocations: 7.938 kB / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2871, allocations: 0 / 1.055 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2871, allocations: 0 / 1.055 GB, free: 4.828 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000829/0.288, allocations: 0.533 MB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.288, allocations: 11.97 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.2881, allocations: 46.67 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.2881, allocations: 8.844 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.2883, allocations: 180.1 kB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.2883, allocations: 12.38 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.2883, allocations: 4.375 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.2888, allocations: 141.7 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2888, allocations: 3.938 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.2888, allocations: 4 kB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.2888, allocations: 3.938 kB / 1.056 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.2892, allocations: 107.9 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007684/0.29, allocations: 384.5 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003646/0.2904, allocations: 98.44 kB / 1.057 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.2907, allocations: 92.78 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2907, allocations: 0 / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004367/0.2912, allocations: 143.3 kB / 1.057 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.695e-06/0.2912, allocations: 3.984 kB / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001107/0.2923, allocations: 301.3 kB / 1.057 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.2924, allocations: 55.41 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2925, allocations: 153.4 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2925, allocations: 29.7 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.2926, allocations: 100.4 kB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.2926, allocations: 19.66 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.2927, allocations: 33.7 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.2928, allocations: 330.8 kB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.2929, allocations: 43.91 kB / 1.058 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.2931, allocations: 77.11 kB / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.2933, allocations: 121 kB / 1.058 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2933, allocations: 0 / 1.058 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003517/0.2937, allocations: 153.8 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2937, allocations: 8 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2937, allocations: 0 / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.2938, allocations: 7.984 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.2939, allocations: 27.86 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2939, allocations: 4 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2941, allocations: 24.02 kB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.2941, allocations: 7.938 kB / 1.059 GB, free: 1.312 MB / 0.8106 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.542e-05/0.2942, allocations: 118 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.2942, allocations: 11.84 kB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.2943, allocations: 16.7 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2943, allocations: 0 / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2943, allocations: 4 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2943, allocations: 0 / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009716/0.2953, allocations: 0.5334 MB / 1.059 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2953, allocations: 4 kB / 1.059 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.2954, allocations: 11.98 kB / 1.059 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2954, allocations: 0 / 1.059 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.2954, allocations: 0 / 1.059 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.2954, allocations: 7.938 kB / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.2954, allocations: 3.984 kB / 1.059 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.2962, allocations: 327.1 kB / 1.06 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.2962, allocations: 89.02 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.2963, allocations: 3.984 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2965, allocations: 27.91 kB / 1.06 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.2965, allocations: 11.98 kB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.2966, allocations: 4 kB / 1.06 GB, free: 52 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.044e-05/0.2967, allocations: 107.2 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.2967, allocations: 0 / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003234/0.297, allocations: 44 kB / 1.06 GB, free: 15.9 MB / 0.8262 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.001228/0.2982, allocations: 0.9228 MB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005027/0.2987, allocations: 147.8 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2988, allocations: 4.25 kB / 1.061 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.2991, allocations: 83.92 kB / 1.061 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.2994, allocations: 12.22 kB / 1.061 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.3016, allocations: 1.794 MB / 1.063 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.3018, allocations: 0.6965 MB / 1.063 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.066e-05/0.3019, allocations: 7.984 kB / 1.063 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.3019, allocations: 31.42 kB / 1.063 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.3019, allocations: 4 kB / 1.063 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01383/0.3158, allocations: 3.19 MB / 1.067 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002222/0.316, allocations: 271.3 kB / 1.067 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.127, allocations: 10.84 kB / 1.067 GB, free: 8.668 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches