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: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005301/0.005302, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001324/0.001324, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.403/1.403, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.41 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2824, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002876/0.2853, allocations: 1.685 MB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.2867, allocations: 0.8023 MB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.2867, allocations: 0 / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.202e-05/0.2868, allocations: 15.92 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.641e-05/0.2869, allocations: 19.73 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.2874, allocations: 127.7 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.2876, allocations: 147.5 kB / 1.055 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2877, allocations: 21.12 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2879, allocations: 59.81 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.288, allocations: 71.73 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.288, allocations: 8 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.2882, allocations: 99.84 kB / 1.056 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.396e-05/0.2883, allocations: 31.88 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.2884, allocations: 55.72 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.2886, allocations: 140 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2886, allocations: 8 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2886, allocations: 0 / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2886, allocations: 0 / 1.056 GB, free: 4.969 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.0008814/0.2895, allocations: 0.533 MB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.2896, allocations: 19.95 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.2896, allocations: 8.844 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.2898, allocations: 184.1 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.2898, allocations: 8.359 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.2899, allocations: 12.38 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004605/0.2903, allocations: 145.7 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.118e-06/0.2903, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.2904, allocations: 8 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2904, allocations: 0 / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.2908, allocations: 103.9 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008251/0.2916, allocations: 380.5 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003496/0.292, allocations: 102.4 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.2923, allocations: 88.78 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.2923, allocations: 4.141 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/0.2928, allocations: 143.2 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.2929, allocations: 4 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001133/0.294, allocations: 305.3 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.2941, allocations: 55.34 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.2942, allocations: 149.7 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.2942, allocations: 29.7 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.2943, allocations: 104.3 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.2943, allocations: 23.66 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.2944, allocations: 33.7 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2945, allocations: 326.8 kB / 1.059 GB, free: 2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.2947, allocations: 35.97 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.2948, allocations: 80 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.2951, allocations: 129 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2951, allocations: 0 / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003593/0.2955, allocations: 153.4 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.2955, allocations: 8 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2955, allocations: 0 / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2955, allocations: 4 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.2957, allocations: 23.91 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2957, allocations: 8.094 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.2958, allocations: 27.95 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2958, allocations: 4 kB / 1.059 GB, free: 1.496 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 0.0001014/0.296, allocations: 125.7 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.296, allocations: 7.906 kB / 1.059 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.296, allocations: 20.7 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.296, allocations: 0 / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.296, allocations: 96 / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.2961, allocations: 7.984 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/0.2971, allocations: 0.522 MB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2971, allocations: 4 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.2972, allocations: 16.08 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2972, allocations: 3.938 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.2972, allocations: 4 kB / 1.06 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2972, allocations: 3.938 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2972, allocations: 7.984 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.2981, allocations: 323.1 kB / 1.06 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.2981, allocations: 85.02 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.2982, allocations: 7.984 kB / 1.06 GB, free: 276 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.2984, allocations: 27.91 kB / 1.06 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.2984, allocations: 7.984 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.2985, allocations: 4 kB / 1.06 GB, free: 236 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.748e-05/0.2986, allocations: 111.2 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2986, allocations: 0 / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003383/0.2989, allocations: 48 kB / 1.06 GB, free: 76 kB / 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: 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.0003668/0.2993, allocations: 165.5 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.2998, allocations: 143.8 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2998, allocations: 0 / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.3002, allocations: 96.05 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.3005, allocations: 8.938 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/0.3012, allocations: 311.8 kB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.3015, allocations: 0.7005 MB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.3016, allocations: 15.42 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3016, allocations: 0 / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of Templates: time 0.004279/0.3059, allocations: 2.146 MB / 1.064 GB, free: 12.46 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (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 & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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